Magento 1 Plugin integration manual
Trunkrs Shipping Portal allows a Magento 1 Webshop to use Trunkrs as one of their shipping courier service providers.
WHAT IS REQUIRED?
A client can install and use the plugin using API credentials for authentication. The API is protected by static header values in the form of:
A client ID provided by the header X -API-ClientID
A client secret provided by the header X-API-ClientSecret
The clientId and secret combination identifies a client as an authorized client and gives them access to their client-specific records.
To obtain a clientId and secret, please contact Trunkrs at sales@trunkrs.nl
MANUAL INSTALLATION
Download the Trunkrs Magento 1 plugin (just above)
Unzip the extension package
Upload the extension files to your Magento 1 root directory
This step is situational, in some cases, a pop up will show to ask you for some
jQuery
file overwrite/replace. This is normal, and it is up to you whether you want to replace the existing jQuery file or not.After step 3 and 4, you should log in to your Magento 1 admin panel and configure
Web Services
for Trunkrs.Go to
System → Web Services → REST - Roles
In the REST roles page, choose
Guest
Edit Role “Guest”, in the
Role Information Menu
, hitRole API Resources
tabResource Access set to
“Custom”
Then check Trunkrs API in the Resources
Then select
Role Info
, enter your current Admin password, thenSave Role
.
Next, Go to
System → Web Services → REST - Attributes
In the Rest - Attributes Page, choose
Guest
Edit attribute rules for Guest Role, in the
ACL Attributes Information Menu
, hitACL Attribute Rules
TabResource Access set to
“Custom”
Then check Trunkrs API in the Resource
Then
Save
.Reindex data by going to
System → Index Management
, check all,Actions
set toReindex Data
then hit Submit.Lastly, Refresh Cache by going to
System → Cache Management
, check all,Actions
set toRefresh
then hit Submit.
WORKING WITH TRUNKRS MAGENTO 1 PLUGIN
(Part I) — Magento 1 Backend
Go to your admin panel
Navigate to
System → Configuration
In the
Configuration Tab,
please selectShipping Methods
underSALES Menu
Then, click the Trunkrs Shipping Tab.
You will see the Trunkrs Shipping Tab content like the image below
Click the colored Trunkrs API Token to copy and hit
Save config
.
(Part II) — Shipping Portal Integration
Refer to this link: https://trunkrs.atlassian.net/wiki/spaces/CUS/pages/55836676/Magento+2+Plugin+integration+manual#(Part-II)-—-Shipping-Portal-Integration