Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 DHL showing wrong delivery time
Author « Topic »  

Fingertech
Advanced Member

Canada
318 Posts

Pre-sales questions only
(More Details...)

Posted - 03/26/2020 :  15:25:03  
On our website, DHL shipping to USA (from Canada) is always showing "1 days" delivery when it should be 2 (sometimes 3) days. It shows correctly in ShipStation, and on the DHL website. My DHL rep says they've tested their API and it's showing 2 days for them so there might be a problem with ECT.

https://www.fingertechrobotics.com/
^ if you want to test it out.

Ideas how to solve this?

Vince
Administrator

42766 Posts

Posted - 03/27/2020 :  03:52:33  
Hi Fingertech
Could you possibly set the following parameter in your vsadmin/includes.php file...
$dumpshippingxml=TRUE;
Then go through checkout and you should get the request and response XML displayed. Could you copy and paste that into a text file and send it to me (vince AT ecommercetemplates DOT com).
Then take the parameter out of the includes file again or your customers will see the output.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Fingertech
Advanced Member

Canada
318 Posts

Pre-sales questions only
(More Details...)

Posted - 03/27/2020 :  22:09:21  
Email sent Vince, thanks!

Vince
Administrator

42766 Posts

Posted - 03/28/2020 :  03:32:16  
Hi Fingertech
I had a look at the XML and I've got in the file...

<ProductShortName>EXPRESS WORLDWIDE</ProductShortName>
<TotalTransitDays>1</TotalTransitDays>

<ProductShortName>EXPRESS EASY</ProductShortName>
<TotalTransitDays>1</TotalTransitDays>

<ProductShortName>MEDICAL EXPRESS</ProductShortName>
<TotalTransitDays>1</TotalTransitDays>

<ProductShortName>ECONOMY SELECT</ProductShortName>
<TotalTransitDays>8</TotalTransitDays>

So 1 day for all apart from Economy Select which is 8. Could you possibly send the XML on to DHL and ask for their opinion as it really seems we are displaying the information given.

Vince


Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Fingertech
Advanced Member

Canada
318 Posts

Pre-sales questions only
(More Details...)

Posted - 03/29/2020 :  23:38:06  
Will do, thanks.

Fingertech
Advanced Member

Canada
318 Posts

Pre-sales questions only
(More Details...)

Posted - 04/30/2020 :  14:15:29  
Hi Vince, I finally had a chance to hook up with DHL and do their test.

"Looks like it has to do with how your website is reading the returned XML response.
You’ll see below that the pickup date and the delivery date are correct. They show a two day transit time.
Where it gets confusing is the TotalTransitDays section. To get the actual final total transit days one has to add <TotalTransitDays><PickupPostalLocAddDays> and <DeliveryPostalLocAddDays> Which in this case would equal 2."
[code]<PickupDate>2020-04-27</PickupDate>
<PickupCutoffTime>PT18H</PickupCutoffTime>
<BookingTime>PT17H</BookingTime>
<TotalTransitDays>1</TotalTransitDays>
<PickupPostalLocAddDays>1</PickupPostalLocAddDays>
<DeliveryPostalLocAddDays>0</DeliveryPostalLocAddDays>
<PickupNonDHLCourierCode> </PickupNonDHLCourierCode>
<DeliveryNonDHLCourierCode> </DeliveryNonDHLCourierCode>
<DeliveryDate>2020-04-29</DeliveryDate>[/code]
"I would probably do date math on the pickup date and the delivery date to get the proper transit time."

Can that be done? Thanks!

Fingertech
Advanced Member

Canada
318 Posts

Pre-sales questions only
(More Details...)

Posted - 05/12/2020 :  23:04:24  
Vince, can the DHL delivery time be made to use <DeliveryDate> subtract <PickupDate>?
Currently it is using the <TotalTransitDays> which DHL says is not the correct number to be using.

Vince
Administrator

42766 Posts

Posted - 05/13/2020 :  03:07:05  
I've done this now and added the change to the v7.2 updater. If you're still on the v7.1 line then you can use the file from the v7.2 just fine as this is the only change. The changed file is...
vsadmin/inc/uspsshipping.php

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Fingertech
Advanced Member

Canada
318 Posts

Pre-sales questions only
(More Details...)

Posted - 05/13/2020 :  13:10:02  
Thanks, looking good now!
Truly appreciate the service from ECT. You guys really care about your customers and your product.
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000