The GLS extension for Magento® 2 integrates the GLS Web API for Parcel Processing & Cancellation APIs into the order processing workflow.
This extension enables merchants to request and cancel shipping labels for incoming orders via the GLS Web APIs.
- PHP >= 7.1.3
- PHP JSON extension
- PHP INTL extension
- Magento >= 2.3.0+
- Magento >= 2.4.0+
Install sources:
composer require gls/shipping-m2
Enable module:
./bin/magento module:enable GlsGroup_Shipping
./bin/magento setup:upgrade
Flush cache and compile:
./bin/magento cache:flush
./bin/magento setup:di:compile
For development purposes, web service requests can be sent to the testing endpoint by enabling sandbox mode via database query:
INSERT INTO core_config_data (path, value) VALUES ('carriers/glsgroup/account/sandboxmode', '1');
Note that the API credentials of a regular GLS account are valid for the production endpoint only and will not work in sandbox mode.
To unregister the carrier module from the application, run the following command:
./bin/magento module:uninstall --remove-data GlsGroup_Shipping
composer update
This will automatically remove source files, clean up the database, update package dependencies.
In case of questions or problems, please have a look at the Support Portal (FAQ) first.
If the issue cannot be resolved, you can contact the support team via the [Support Portal](<Support Portal Url goes here) or by sending an email to [email protected].
OSL - Open Software Licence 3.0
(c) 2022 General Logistics Systems Germany GmbH & Co. OHG