VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: aravot on September 04, 2007, 22:21:01 PM

Title: [FIXED] DHL shipping generates error if product price is more than 3 digits.
Post by: aravot on September 04, 2007, 22:21:01 PM
VM 1.1 r918;

DHL shipping generates following error during checkout if product price is more than 3 digits.

Example:
Chain Saw $149.99
Circular Saw $220.90

QuoteExpress: The shipment could not be rated. [code 202]

    * All dollar amounts must be numeric. [code 3023]


Next Afternoon: The shipment could not be rated. [code 202]

    * All dollar amounts must be numeric. [code 3023]


Second Day: The shipment could not be rated. [code 202]

    * All dollar amounts must be numeric. [code 3023]


Ground: The shipment could not be rated. [code 202]

    * All dollar amounts must be numeric. [code 3023]


Express 10:30am: The shipment could not be rated. [code 202]

    * All dollar amounts must be numeric. [code 3023]
Title: Re: DHL shipping generates error if product price is more than 3 digits.
Post by: aravot on September 16, 2007, 20:06:49 PM
Could anyone with DHL check this please.
Title: Re: DHL shipping generates error if product price is more than 3 digits.
Post by: aravot on October 02, 2007, 22:11:12 PM
2nd tester needed.
Title: Re: DHL shipping generates error if product price is more than 3 digits.
Post by: jenkinhill on October 04, 2007, 13:31:38 PM
I am unable to duplicate this with DHL World or EU shipping.

Database Version: 4.1.20
PHP Version: 4.4.2
Web Server: Apache
VirtueMart 1.1: Ver. 966 1 October
Joomla! Version: Joomla! 1.0.13 Stable [ Sunglow ]




[attachment cleanup by admin]
Title: Re: DHL shipping generates error if product price is more than 3 digits.
Post by: aravot on October 05, 2007, 19:49:24 PM
Database Version: 5.0.24a-standard-log
PHP Version: 5.2.3
Web Server: Apache/2.0.54
Joomla 1.0.13
VirtueMart 1.1 r967

I get the error for 3 digit priced products.

Here is my DHL configuration. (click for large image)
(http://www.filefarmer.com/aravot/joomla/vm/vm967-dhl-configs.gif) (http://www.filefarmer.com/aravot/joomla/vm/vm967-dhl-config.gif)

It works OK for 2 digit priced products.

(http://www.filefarmer.com/aravot/joomla/vm/vm967-dhl-checkout-ok.gif)

You can register on my site and test it.
Title: Re: DHL shipping generates error if product price is more than 3 digits.
Post by: jenkinhill on October 05, 2007, 20:56:23 PM
I just tried but registered as from the UK... No DHL option....

Will try again later with a new registration
Title: Re: DHL shipping generates error if product price is more than 3 digits.
Post by: jenkinhill on October 06, 2007, 00:22:54 AM
OK I see it. Same error when using a US delivery address. I'll try some more on my setup tomorrow when my head is clear.
Title: Re: DHL shipping generates error if product price is more than 3 digits.
Post by: aravot on October 15, 2007, 00:53:27 AM
Did you have a look?
Title: Re: DHL shipping generates error if product price is more than 3 digits.
Post by: aravot on October 16, 2007, 04:53:07 AM
I contacted Mike, a great guy he helped solving this issue, I am please to say the issue is solved, I'll send the code to Soeren or Greg so they can commit it to SVN.
Title: Re: DHL shipping generates error if product price is more than 3 digits.
Post by: jenkinhill on October 16, 2007, 10:10:49 AM
Oh good. I tried playing with it last night but "real" work got in the way!
Title: Re: DHL shipping generates error if product price is more than 3 digits.
Post by: aravot on October 16, 2007, 22:59:21 PM
Fixed in SVN 1001, thank you Mike Durian.