[FIXED] DHL shipping generates error if product price is more than 3 digits.

Started by aravot, September 04, 2007, 22:21:01 PM

Previous topic - Next topic

aravot

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]



jenkinhill

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]
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

aravot

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)


It works OK for 2 digit priced products.



You can register on my site and test it.

jenkinhill

I just tried but registered as from the UK... No DHL option....

Will try again later with a new registration
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum


aravot

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.

jenkinhill

Oh good. I tried playing with it last night but "real" work got in the way!
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum