Same error here. I guess either DHL has change its API (and the plugin is not updated yet) – or DHL server is broken.
The source code of the plugin still refers to the now 404 link:
https://github.com/shadimanna/dhl-logistic-services-for-woocommerce/blob/9d4cecf7e493e032cf59f4c1049457519d382e4e/pr-dhl-woocommerce/pr-dhl-woocommerce.php#L152
$this->define( 'PR_DHL_PAKET_TRACKING_URL', 'https://nolp.dhl.de/nextt-online-public/report_popup.jsp?idc=' );
Let’s see what the plugin author says…
We are looking into this issue, apologies for the inconvenience.
Same error here , do you have a solution?
DHL have changed the tracking URL 9 days ago. All that has to be done is to change
'https://nolp.dhl.de/nextt-online-public/report_popup.jsp?idc='
to
'https://www.dhl.de/de/privatkunden/dhl-sendungsverfolgung.html?piececode='
for the German version of the DHL tracking site
or to
'https://www.dhl.de/en/privatkunden/dhl-sendungsverfolgung.html?piececode='
for the English version
in pr-dhl-woocommerce.php
Just did that on my site and it works (only for new generated labels, not in old orders though since the old link is saved there).
It’s a pity it takes so long to get an update here.
-
This reply was modified 4 years, 10 months ago by
gmwp1111.
I think they have changed urls .
I found this dhl tracking wordpress site they directly redirect package tracking from their dhl page here.dhl tracking page
@gmwp1111 has correctly stated that the URLs changed. If you are not seeing this, then please ensure to update the plugin to the latest version.