Saleem Summour
Forum Replies Created
-
Forum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] DHL plugin: Error creating labelHi @silverdrop ,
We found the issue and the fix will be included in the next release, coming very soon.
If you need it right away, you can apply the fix manually:
1)Open this file on your server:
wp-content/plugins/dhl-for-woocommerce/includes/REST_API/Parcel_DE/Client.php
2)Find this code (around line 300):if ( ! empty( $request_info->shipment['mrn'] ) ) {
$customs['MRN'] = $request_info->shipment['mrn'];
}3)Add these lines directly above it:
if ( ! empty( $request_info->args['order_details']['duties'] ) ) {
$duties = $request_info->args['order_details']['duties'];
$customs['shippingConditions'] = 'DDU' === $duties ? 'DAP' : $duties;
}4) Save the file and try generating the label again.
Please note: this manual change will be overwritten if you update the plugin. The proper fix will be included in the next release so you won’t need to do
this manually going forward.Best regards,
Hi Dan,
Thank you for reporting this and for the screenshot; that’s really helpful.
We’ve identified the root cause: for the modern DHL Parcel DE REST API, the plugin was not correctly mapping the Cash on Delivery amount into the services.cashOnDelivery field of the label request. As a result, DHL received a standard label request with no COD instruction, so the COD icon and information were omitted from the generated label.
We’ve already applied a fix that:
– Correctly passes the COD amount and bank transfer details to the DHL API
– Prevents a saved COD amount from being accidentally overwritten by the order total when regenerating labels
In the meantime, continuing to create COD labels directly via the DHL Portal is the right workaround — please carry on doing that until the update is available.
The fix will be included in the next plugin release, which we’re aiming to push out very soon. We’ll update this thread once it’s live.
Sorry for the inconvenience, and thanks again for taking the time to report it with a screenshot.
Best regards,Forum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] DHL plugin: Error creating labelHi,
Thank you for the detailed report and screenshots.
Based on our initial check, this may be related to how the plugin prepares the DHL customs data for this specific shipment type and destination combination.
We are investigating this further to confirm the exact cause and determine whether a plugin-side fix is needed.
We will get back to you as soon as we have more details.
Best regards,
Hi @silverdrop,
Glad to hear the issue is solved.
Since everything is working again, we’ll go ahead and mark this topic as resolved.
If you have a moment, we’d really appreciate a review and feedback here:
Your feedback helps us improve the plugin and support experience for everyone.
Best regards
- This reply was modified 4 days, 18 hours ago by Saleem Summour.
Hi,
From your screenshots, it looks like the plugin is asking for the Deutsche Post International API credentials (Client ID / Client Secret).
These credentials are different from the normal DHL Paket Germany login credentials and are required for the Deutsche Post International integration.
You can obtain them from the DHL Developer Portal:
DHL Developer PortalIf your goal is to use the standard DHL Paket Germany integration, you should normally use your DHL Business Customer Portal username/password instead of Client ID / Client Secret.
Best regards
Hi @davidkoster89 ,
Thanks for reporting this.
You can simply click on “Get Account Settings”, This should refresh the account data and remove the warning.
We are also aware of this behavior and are working on improving it in the next release.
Thanks again for informing us
Forum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Duplikeret JavaScriptHi,
Thanks for sharing this.
The PageSpeed warning is related to how some frontend scripts are currently loaded on the page, which can sometimes lead to overlapping or repeated modules being flagged in the report.
We’re reviewing this to see if further optimizations can be applied without impacting functionality.
Appreciate you flagging it
Hi @anylifestyle,
Thanks for checking.
If DHL Retoure still stays empty after clicking Get Account Settings, this usually means the return product is not correctly linked/activated for the DHL API profile, even if it appears assigned in the DHL business portal.
We have seen this issue before: the portal showed the service, but DHL still had to activate/link it correctly on their side before the plugin could retrieve it and create return labels successfully.
Could you please contact DHL once more and ask them to check the API profile / EKP assignment for DHL Retoure specifically, not only the portal visibility?
Best regards
Hi @anylifestyle,
Could you please try this once more:
remove all participation numbers under Products
Click Get Account Settings
Then check whether DHL Retoure gets filled again or stays emptyBest regards
Hi,
Thanks for checking this with DHL.
Since return labels can be created successfully in the DHL business portal and DHL confirmed the setup looks correct on their side, this no longer looks like a simple account activation issue only.
At this point, we need to inspect what is being sent by the plugin when the return label option is enabled.
Please send us:
- a screenshot of your DHL Products and Participation Numbers settings
- a screenshot of the return label related settings in the plugin
- the plugin debug log from a failed label creation attempt
Best regards
Hi,
This usually happens when the return product/participation number is missing or not correctly assigned for your DHL account.
Please check the following first:
- Go to
WooCommerce → Settings → Shipping → DHL Paket → DHL Products and Participation Numbers - Empty the participation number fields, save the settings once
- Then click Get Account Settings so the plugin retrieves the product numbers from DHL again
After that, please check specifically:
- whether DHL Retoure gets filled with a number or stays empty
- whether return labels worked before on this account or if this is the first time you are trying to use them
If DHL Retoure stays empty after using Get Account Settings, that usually means the return product is not active / not assigned correctly on the DHL side.
Best regards
Hi @forge12marc,
Thanks for the detailed report.
We were able to reproduce the issue in the classic checkout and have implemented a fix. It will be included in the next plugin release.
We appreciate you taking the time to report this.
Best regards
Hi @kersavond,
Just to confirm first: were you previously using the SOAP API, and after the last plugin update it switched to the REST API?We recently moved the integration to the DHL REST API (since the older SOAP API is being phased out). In the REST flow the sender name is handled differently, and the company name is not always included as a separate line on the label like it was with SOAP.
Best Regards,
Hi Martin,
This is not a “random” error. It’s a translated validation message from our Packstation check.
In short: the checkout is failing because the address submitted does not contain the required Packstation keyword in the expected address field (even if the rest is filled in).
What to do:
- Use the Location Finder (Packstation/Branch search) to select the Packstation.
This auto-fills the address in the exact format DHL expects and avoids manual formatting issues. - Quick language test (to confirm translation wording):
Temporarily switch your site language to English, repeat the checkout once, and check the error message.
If it shows the Packstation-related text in English, then it’s simply a translation mismatch on your site (or a recent translation update) and not a new functional issue.
If it still fails after selecting the Packstation via Location Finder, send us:
- Your WooCommerce version + plugin version
- Whether you use Checkout Blocks or Classic checkout
- A screenshot of the filled Packstation address
Best regards,
Forum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Select between package typesHi @torbentschechnegmailcom,
We already answer your question here
https://ww.wp.xz.cn/support/topic/differentiate-between-package-types/
Best regards,