Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DHL and FedEx tracking not working #4109

Closed
colyield opened this issue Apr 12, 2016 · 10 comments
Closed

DHL and FedEx tracking not working #4109

colyield opened this issue Apr 12, 2016 · 10 comments
Assignees

Comments

@colyield
Copy link

We are using FedEx shipping module to quote the shipping cost. And we did not configure the DHL module but occasionally we will ship orders by DHL.

For the order shipped by DHL, when click "track order" link on admin, The DHL tracking always show the message below and there's no further information.
Tracking Number: 111
Carrier: DHL
Error: Tracking information is currently not available.

For the order shipped by FedEx, When click "track order" link on admin, it shows error on the popup window. The error is:
"....Undefined property: stdClass::$ActualDeliveryAddress in /var/www/html/vendor/magento/module-fedex/Model/Carrier.php on line 1075";i:1;s:11684:"#0 /var/www/html/vendor/magento/module-fedex/Model/Carrier.php(1075): Magento\Framework\App\ErrorHandler->handler(8, 'Undefined prope...', '/var/www/html...', 1075, Array)

The magento version is 2.0.4 on Centos 6 server, Apache 2.4, php5.6. Please advise.

@colyield
Copy link
Author

I don't know what happened, but the Fedex tracking seems work now, for both my production website and a test website. The DHL tracking is still the same problem.

@joni-jones
Copy link
Contributor

@colyield, thanks for your report. Can you enable debug mode for DHL and post response from DHL in this issue.

@joni-jones
Copy link
Contributor

Also, related to DHL Tracking documentation the AWBNumber should be 10 digits, you use 3 digits.

@colyield
Copy link
Author

@joni-jones First of all, whatever the AWBnumber I input into the system, when I track the shipment, the tracking number shown on the page is always 111. I enabled debug, and here is the error. I am not sure why the tracking shows 111. Do I have to set up the DHL shipping module in the system? As I mentioned, we did not configure the DHL module but occasionally we will ship orders by DHL.

` 'request' => '
<req:KnownTrackingRequest xmlns:req="http://www.dhl.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dhl.com TrackingRequestKnown.xsd">EN1374618070ALL_CHECK_POINTS/req:KnownTrackingRequest
',
'result' => '
<req:ShipmentTrackingErrorResponse xmlns:req="http://www.dhl.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dhl.com track-err-res.xsd">


2016-04-21T21:50:20+01:00


Failure

111
Error Parsing incoming request XML
Error: Datatype error: In element 'SiteID'
: Value '' with length '0' is
less than minimum length facet of '6'.. at
line 2, column 237



/req:ShipmentTrackingErrorResponse

',
) {"is_exception":false} []`

@colyield
Copy link
Author

It seems the DHL module have to be configured. I just applied DHL account and hopefully will get it set in a few day.s

@joni-jones
Copy link
Contributor

@colyield to use DHL tracking at first you must configure DHL shipping carrier in Magento Admin panel. Otherwise it will not be work.

@colyield
Copy link
Author

Is there anyway to bypass the module configuration? I just want to track the packages. But it seems it's impossible to get a DHL account just for tracking.

@joni-jones
Copy link
Contributor

No, you need DHL credentials to use this module.

@alena-marchenko
Copy link

Hi @colyield

Closing the issue, please feel free using Community Forums or Magento Stack Exchange for further questions.

@googelie
Copy link

googelie commented Jun 3, 2016

We are experiencing the same problem.. always 111 as tracking id. I Think the only way would be to edit the admin customer order overview and add the tracking link and at the end the tracking id as variable

magento-engcom-team pushed a commit that referenced this issue Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants