Plans: All plans Platforms: Magento
Overview
Magento is one of the most popular e-commerce systems, written in PHP. AfterShip supports multiple Magento stores. If you encounter any errors while connecting to AfterShip, refer to this guide for assistance.
Error: Insufficient permissions
Resolve this error by granting complete access to Role Resources. For Custom Resource access, you need to enable additional permissions.
Grant permissions for Custom Resource access
Log into Magento admin panel > System > Web Services > SOAP/XML-RPC - Roles
Select a role > Role Resources > Select Custom as the Resource Access
Enable the following permissions:
Customers -> Retrieve customer info
Sales -> Order -> Order shipments -> Retrieve shipment info
Sales -> Order -> Retrieve order info
Shopping Cart -> Shipping methods in the shopping cart -> Get the list of available shipping methods
Core -> Store -> List of stores
Core -> Store -> Retrieve store data
Save changes.
Error: Calling parameters do not match the signature
Steps to fix the error
Open the file: lib/Zend/XmlRpc/Server.php
Look for the code mentioned below.
if (!$matched) {
require_once 'Zend/XmlRpc/Server/Exception.php';
throw new Zend_XmlRpc_Server_Exception('Calling parameters do not match signature', 623);
}Comment it out:
if (!$matched) {
require_once 'Zend/XmlRpc/Server/Exception.php';
throw new Zend_XmlRpc_Server_Exception('Calling parameters do not match signature', 623);
}
Error: Invalid web service adapter specified
Steps to fix the error
Open the Apache web server
.htaccessfile.Locate the following code:
<Directory /var/www/magento>
Options Indexes FollowSymLinks MultiViewsReplace it with:
<Directory /var/www/magento>
Options Indexes FollowSymLinks -MultiViews
Fatal error: Call to undefined function libxml_disable_entity_loader()
This error usually occurs when your store has been patched for fixing an API vulnerability and your server’s PHP version does not support the added patch.
Steps to fix the error
Upgrade PHP to a newer version.
Magento 1 Timeout Error
Encountering a timeout error when connecting AfterShip with your Magento 1 store might indicate an issue with an untrusted SSL certificate across web browsers.
Steps to fix the error
Review the SSL certificate in use.
Install the appropriate certificates to ensure compatibility across all web browsers.
Connect Magento 1 Store to AfterShip.
This should help address the timeout error when integrating AfterShip with your Magento 1 store.
In case of queries, write to us at [email protected].