Skip to content

This fork fixes some minor issues we had with the ever-beta-extension that should integrate the Deutsche Post DHL Group Business Customer Shipping API (GKP Versenden) into the Magento 2 order processing workflow.

Notifications You must be signed in to change notification settings

rawliving-germany/dhl-module-shipping-m2

 
 

Repository files navigation

Raw Living Germanys Fork of DHL Shipping Extension

The situation is awful, DHL and its partner netresearch are neither developing transparently, nor were they able to ship a magento2 extension that is beyond a beta state since more than ... a long time.

What we fixed here:

DHL Shipping Extension

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

Facts

  • version: 0.6.0

Description

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

Requirements

  • PHP >= 5.6.5
  • PHP >= 7.0.6

Compatibility

  • Magento >= 2.1.4

Installation Instructions

The DHL Shipping module for Magento® 2 is distributed in three 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.

Drop-In

If you received a single ZIP file with no composer.json file included, extract its contents to the project root directory. The module sources should then be available in the following sub-directory:

app
└── code
    └── Dhl
        └── Shipping

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.6.0.zip
                └── Dhl_Shipping_Module_M2-0.6.0.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.6.0

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.6.0

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, depending on the distribution format, 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

This will automatically remove source files and clean up the database.

Drop-In

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

./bin/magento module:disable Dhl_Shipping
rm -r app/code/Dhl/Shipping

To clean up the database, run the following commands:

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

Support

The original authors can only give limited support for their original beta version at their Support Portal (FAQ). But right here and now you are looking at a fork of the original release.

Btw, if the issue could not be resolved before the year 2062, you would contact their support team via the Support Portal or by sending an email to [email protected].

That said, we cannot give you support either, but feel free to get in contact to improve the situation.

Developer

Original developers (pre-fork)

License

OSL - Open Software Licence 3.0

Copyright

(c) 2017 DHL Paket GmbH

About

This fork fixes some minor issues we had with the ever-beta-extension that should integrate the Deutsche Post DHL Group Business Customer Shipping API (GKP Versenden) into the Magento 2 order processing workflow.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 87.9%
  • HTML 8.1%
  • JavaScript 3.8%
  • CSS 0.2%