This extension integrates the Deutsche Post DHL Group Business Customer Shipping API (GKP Versenden) into the Magento 2 order processing workflow.
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE DHLVM2-247: create issue templates for Github Jun 22, 2018
Api DHLVM2-214: Add DHL Label Status to order grid May 24, 2018
AutoCreate DHLVM2-261: consider store scope while reading default product from c… Jul 5, 2018
Block/Adminhtml DHLVM2-261: consider store scope while reading default product from c… Jul 5, 2018
Controller/Adminhtml/Order DHLVM2-239: Fix issues caused by rebase May 24, 2018
Cron DHLVM2-212: fix codingstyle issue, some refactoring May 24, 2018
Helper DHLVM2-212: fix codingstyle issue, some refactoring May 24, 2018
Model DHLVM2-261: consider store scope while reading default product from c… Jul 5, 2018
Observer DHLVM2-233: fix some code style issues, add doc blocks May 24, 2018
Plugin DHLVM2-239: Fix issues caused by rebase May 24, 2018
Setup DHLVM2-242: increase version number, update changelog Jul 24, 2018
Test DHLVM2-233: fix some code style issues, add doc blocks May 24, 2018
Ui/Component/Listing/Column/LabelStatus DHLVM2-214: Add DHL Label Status to order grid May 24, 2018
Util DHLVM2-233: fix some code style issues, add doc blocks May 24, 2018
ViewModel/Packaging DHLVM2-250: limit items descriptions to 50 chars, set not needed desc… Jul 4, 2018
Webservice DHLVM2-250: limit items descriptions to 50 chars, set not needed desc… Jul 4, 2018
doc DHLVM2-244: fix wrong version number in documentation Sep 19, 2018
etc Increase version number, update changelog Oct 8, 2018
view/adminhtml DHLVM2-203: fix broken commit regarding packaging popup Oct 8, 2018
.gitignore DHLVM2-94: move documentation to build directory Jun 16, 2017
.gitlab-ci.yml Increase version number, update changelog Oct 8, 2018
CHANGELOG.md Increase version number, update changelog Oct 8, 2018
CONTRIBUTING.md DHLVM2-247: update guide (we now have proper issue templates); remove… Jun 22, 2018
README.md Increase version number, update changelog Oct 8, 2018
composer.json Increase version number, update changelog Oct 8, 2018
registration.php DHLVM2-64: change namespace etc. Feb 24, 2017

README.md

DHL Shipping Extension

The DHL Shipping extension for Magento® 2 integrates the DHL business customer shipping API or the DHL eCommerce Global Label API into the order processing workflow.

Facts

  • version: 0.9.1

Description

This extension enables merchants to request shipping labels for incoming orders via the DHL business customer shipping API (DHL Geschäftskundenversand-API) or the DHL eCommerce Global Label API.

For more details on the API connections, see the documentation.

Requirements

  • PHP >= 7.0.6

Compatibility

  • Magento >= 2.2.4

Installation Instructions

The DHL Shipping module for Magento® 2 is distributed in two formats:

Install Source Files

The following sections describe how to install the module source files, depending on the distribution format, to your Magento® 2 instance.

Artifact

If you received multiple ZIP files with composer.json files included, move them to a common directory on the server. The directory /var/www/share/marketplace/dhl is used in the following examples. Please replace this path with the actual artifact directory of choice.

/var
└── www
    └── share
        └── marketplace
           └── dhl
                ├── Dhl_Shipping_Lib-0.9.1.zip
                └── Dhl_Shipping_Module_M2-0.9.1.zip

Then navigate to the project root directory and run the following commands:

composer config repositories.dhl-shipping-m2 artifact /var/www/share/marketplace/dhl/
composer require dhl/module-shipping-m2:0.9.1

VCS

If you prefer to install the module using git, run the following commands in your project root directory:

composer config repositories.dhl-module-shipping-m2 vcs https://github.com/netresearch/dhl-module-shipping-m2.git
composer config repositories.dhl-lib-shipping vcs https://github.com/netresearch/dhl-lib-shipping-mx.git
composer require dhl/module-shipping-m2:0.9.1

Enable Module

Once the source files are available, make them known to the application:

./bin/magento module:enable Dhl_Shipping
./bin/magento setup:upgrade

Last but not least, flush cache and compile.

./bin/magento cache:flush
./bin/magento setup:di:compile

Uninstallation

The following sections describe how to uninstall the module from your Magento® 2 instance.

Composer VCS and Composer Artifact

To unregister the shipping module from the application, run the following command:

./bin/magento module:uninstall --remove-data Dhl_Shipping
composer update

This will automatically remove source files, clean up the database, update package dependencies.

Please note that automatic uninstallation is only available on Magento version 2.2 or newer. On Magento 2.1 and below, please use the following manual uninstallation method.

Manual Steps

To uninstall the module manually, run the following commands in your project root directory:

./bin/magento module:disable Dhl_Shipping
composer remove dhl/module-shipping-m2

To clean up the database, run the following commands:

DROP TABLE `dhlshipping_quote_address`;
DROP TABLE `dhlshipping_order_address`;
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'dhl_dangerous_goods_category';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'dhl_tariff_number';
DELETE FROM `eav_attribute` WHERE `attribute_code` = 'dhl_export_description';
DELETE FROM `core_config_data` WHERE `path` LIKE 'carriers/dhlshipping/%';
DELETE FROM `setup_module` WHERE `module` = 'Dhl_Shipping';

Support

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 or by sending an email to dhl.support@netresearch.de.

Developer

License

OSL - Open Software Licence 3.0

Copyright

(c) 2017 DHL Paket GmbH