Deprecated - Magento 2 Plugin integration manual
Trunkrs Shipping Portal allows a Magento 2 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:
For API v1 users:
A client ID provided by the header X -API-ClientID
A client secret provided by the header X-API-ClientSecret
For API v2 users:
A client API key provided by the header X-API-Key
For v1:
The clientId and secret combination identifies a client as an authorized client and gives them access to their client-specific records.
For v2:
The client api key identifies a client as an authorized client and gives them access to their client-specific records.
To obtain a clientId and secret, or client api key please contact Trunkrs at sales@trunkrs.nl
TECHNICAL INFORMATION
Compatible with Magento 2.3.0 CE or later
PHP Version 7.1.24 or later
INSTALLATION
Run the following command:
composer require trunkrs/magento-2-carrier-plugin
After composer installation, run the following Magento 2 commands:
bin/magento setup:upgrade
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
Done.
WORKING WITH OUR MAGENTO 2 PLUGIN
(Part I) — Magento 2 Backend
1. Go to your admin panel
2. Navigate to STORES
3. In STORES, please select CONFIGURATION under the SETTINGS tab
4. In the CONFIGURATION screen, please select SHIPPING METHODS, this can be found under the SALES tab
5. Then, click the Trunkrs Shipping Tab
6. You will see the Trunkrs Shipping Tab content like the image below
7. Click the colored Trunkrs API Token to copy and hit Save Config
.
(Part II) — Shipping Portal Integration
The following steps below assume that you have already an account to the Trunkrs Shipping Portal and you have configured the plugin from the plugin configuration page.
Refer to the link below on how to create a shipping portal account
https://trunkrs.atlassian.net/wiki/spaces/CUS/pages/56656025/Creating+an+Account+to+Shipping+Portal
1. Login to Shipping Portal, go to → https://trunkrs-shipping-portal.com
2. Hit Plugin Configurations menu
3. In the Plugin Configuration Page, under Plugins Tab click +Configure new plugin
4. Pick your plugin pop-up option will show then choose Magento by clicking the Magento logo then click Pick button.
5. The Magento plugin configuration page will be shown. You can start the integration by filling up the form
Magento integration token
— is the Trunkrs API Token you copied from the Trunkrs Magento 2 pluginMagento webshop URL
— is the main domain of your webshop
6. Hit the Save button after you fill-up the form.
7. Start connecting to your Magento webshop using Connect and Disconnect button.