Download the PHP package dhl/module-unified-tracking without Composer
On this page you can find all versions of the php package dhl/module-unified-tracking. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dhl/module-unified-tracking
More information about dhl/module-unified-tracking
Files in dhl/module-unified-tracking
Package module-unified-tracking
Short Description Integrate the DPDHL Group tracking web service into Magento® 2 carrier modules.
License OSL-3.0
Informations about the package module-unified-tracking
DHL Unified Tracking Extension
The DHL Unified Tracking extension offers an integration of the Shipment Tracking - Unified API into the Magento® 2 platform.
Description
This extension enables integrators to request tracking details for a given DHL shipment. The extension does not display tracking status and tracking history on its own. It accepts a tracking number and will return the tracking details in a format suitable for use in Magento® 2. The UI integration needs to be realized within a carrier module or similar.
Requirements
- PHP >= 8.2
- PHP Internationalization extension
Compatibility
- Magento 2.4.6+
Installation Instructions
Install sources:
composer require dhl/module-unified-tracking
Enable module:
./bin/magento module:enable Dhl_UnifiedTracking
./bin/magento setup:upgrade
Flush cache and compile:
./bin/magento cache:flush
./bin/magento setup:di:compile
Uninstallation
To unregister the tracking module from the application, run the following command:
./bin/magento module:uninstall Dhl_UnifiedTracking
composer update
Usage
Tracking details can be obtained from the web service by either enabling the carrier plugin or using the tracking service directly.
The web service allows to filter results by DHL divisions.
Carrier Plugin
The tracking extension comes with a plugin that can be enabled to replace a carrier's
original \Magento\Shipping\Model\Carrier\AbstractCarrierOnline::getTrackingInfo
method.
The request for tracking info will then be picked up by the tracking extension and
return a result object ready to be processed by the Magento_Shipping
core module.
Tracking Service
The tracking extension offers an integration point that can be used to request
tracking details from the web service: \Dhl\UnifiedTracking\Api\TrackingInfoProviderInterface::getTrackingDetails
.
Using the tracking service directly can be useful if the result needs to be modified
before passing it to the Magento_Shipping
core module.
Limit Web Service Results
The tracking web service is able to return results from across DHL divisions. If the integration is only meant to request tracking details from a certain carrier (e.g. DHL Paket), then the web service results should be filtered by providing a tracking configuration object via DI configuration:
The carrier code is the identifier of the Magento® carrier that the tracking number belongs to. Compare
\Magento\Sales\Api\Data\TrackInterface::getTrackNumber
\Magento\Sales\Api\Data\TrackInterface::getCarrierCode
See API docs for a list of available service names.
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 [email protected].
License
OSL - Open Software Licence 3.0
Copyright
(c) 2021 DPDHL Group
All versions of module-unified-tracking with dependencies
ext-intl Version *
dhl/sdk-api-unified-tracking Version ^2.3.0
magento/module-store Version ^101.1.6
magento/framework Version ^103.0.6
magento/module-sales Version ^103.0.6
magento/module-shipping Version ^100.4.6
netresearch/module-shipping-core Version ^3.0.0