REST API DHL Shipping Fee compatibility [WOOCS LABS]
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from sittingprettyclothing on July 16, 2020, 17:24Our international shipping service DHL recently changed to use REST API to calculate the shipping fee.
Problem is it is not converting to the correct currency, the symbol changes but the amount is staying in ZAR.
Ex. Shipping fee from South Africa to Canada is R850 but if I switch it only changes to $850.You can test it here: https://www.sittingpretty.co.za/
This is where to download the plugin: https://dhlcommerce.zendesk.com/hc/en-gb/articles/360035934192-Rates-at-checkout-for-WooCommerce
If more documentation is required DHL said they can give another link, but they say this should be enough.
I spoke to DHL and they recommend your plugin to all their customers, so this will be a huge benefit for anyone who already has your plugin as it will now be a problem for everyone. For South-Africa, he said he has about 400 customers who are using this plugin and they most certainly must also be experiencing this issue.
Our international shipping service DHL recently changed to use REST API to calculate the shipping fee.
Problem is it is not converting to the correct currency, the symbol changes but the amount is staying in ZAR.
Ex. Shipping fee from South Africa to Canada is R850 but if I switch it only changes to $850.
You can test it here: https://www.sittingpretty.co.za/
This is where to download the plugin: https://dhlcommerce.zendesk.com/hc/en-gb/articles/360035934192-Rates-at-checkout-for-WooCommerce
If more documentation is required DHL said they can give another link, but they say this should be enough.
I spoke to DHL and they recommend your plugin to all their customers, so this will be a huge benefit for anyone who already has your plugin as it will now be a problem for everyone. For South-Africa, he said he has about 400 customers who are using this plugin and they most certainly must also be experiencing this issue.
Quote from Pablo Borysenco on July 17, 2020, 12:12Hello
Please drop me wp-admin+FTP access to your test site - - https://c2n.me/43SC6rb.png -> https://c2n.me/42BAoj4.png
I will add this to the adaptation queue
Hello
Please drop me wp-admin+FTP access to your test site - - https://c2n.me/43SC6rb.png -> https://c2n.me/42BAoj4.png
I will add this to the adaptation queue
Quote from sittingprettyclothing on July 17, 2020, 13:45Hi,
You'll have to work on the live site, we don't have a staging environment.
Apologies, didnt realise you needed the wp-admin and FTP's. I've added it in.
What is the estimate waiting time for the adaption?
Hi,
You'll have to work on the live site, we don't have a staging environment.
Apologies, didnt realise you needed the wp-admin and FTP's. I've added it in.
What is the estimate waiting time for the adaption?
Quote from Pablo Borysenco on July 20, 2020, 10:21Hello
What is the estimate waiting time for the adaption? - about one week
Hello
What is the estimate waiting time for the adaption? - about one week
Quote from Pablo Borysenco on July 23, 2020, 16:33Hello
What should I do to receive this shipping method? - https://c2n.me/48vvQaQ.png
Hello
What should I do to receive this shipping method? - https://c2n.me/48vvQaQ.png
Quote from sittingprettyclothing on July 24, 2020, 08:10Hi Pablo,
GBP - order amount less than 95
USD - order amount less than 120
EUR - order amount less than 110
Is it working? The amount looks like its switching :)
Hi Pablo,
GBP - order amount less than 95
USD - order amount less than 120
EUR - order amount less than 110
Is it working? The amount looks like its switching :)
Quote from Pablo Borysenco on July 24, 2020, 11:34Hello
https://c2n.me/48w3ys5.png
I added some code - but can't test this
Hello
I added some code - but can't test this
Quote from sittingprettyclothing on July 24, 2020, 16:48Hi,
We only use DHL for international orders (outside of South-Africa), seems to be working if I test it.
I'll keep you updated if anything changes.
Thanks so much, for always giving such great and quick support.
Really appreciate the effort.
Will you be placing this publicly for other DHL customers to reference from? Would like to give the link to DHL to give to them.
Hi,
We only use DHL for international orders (outside of South-Africa), seems to be working if I test it.

I'll keep you updated if anything changes.
Thanks so much, for always giving such great and quick support.
Really appreciate the effort.
Will you be placing this publicly for other DHL customers to reference from? Would like to give the link to DHL to give to them.
Quote from Pablo Borysenco on July 27, 2020, 09:53Hello
I will add an article here - https://currency-switcher.com/codex/#compatibility
Solution:
in file -\wp-content\plugins\dhl-woocommerce-shipping\dhl_eccommerce\includes\class-wf-dhl-woocommerce-shipping.php
https://c2n.me/48vxVZM.png
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$total_value = $WOOCS->woocs_exchange_value(floatval($total_value));
}
}
Hello
I will add an article here - https://currency-switcher.com/codex/#compatibility
Solution:
in file -\wp-content\plugins\dhl-woocommerce-shipping\dhl_eccommerce\includes\class-wf-dhl-woocommerce-shipping.php
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$total_value = $WOOCS->woocs_exchange_value(floatval($total_value));
}
}