Hello,
I'm using Joomla! 1.5.22 / Virtuemart 1.1.7a / UPS1.0
My problem is, that all submitted shipping rates are much too low.
Example:
From 84091 to 84036 (both Germany)
commercial customer
Packing 0.7m / 0.3m / 0.3m / 20kg
UPS Standard
Fuel SurCharge 8%
add 19% vat
Submitted rate from UPS1.0 : 10.86€
Calculated by wwwapps.ups.com/ctc/request: 15.27€ (correct, confirmed by phone)
Can anybody help me?
Many thanx in advance!
[attachment cleanup by admin]
The original module has no way to pass package dimensions. This is probably why your rates are too low. What does the XML request/reply look like (do not post your UPS credentials if you post the XML here)?
My UPSv2 module has some dimension declaration support.
http://forum.virtuemart.net/index.php?topic=47142.0
Hello Reggie!
Thank you very much for your reply.
I attached both debug informations: XMLrequest and XMLresult
If your version can eliminate this error -> I will donate today!
Best regard
[attachment cleanup by admin]
Hi Reggie!
I tried at wwwapps.ups.com to get a rate without input of the package dimensions -> same price like with dimensions (15,27€)
It seams, that for low weights the dimensions are irrelevant.
Best regards
[attachment cleanup by admin]
One thing that really sticks out in your XML request is the weight..it shows only 2 kgs, but you say the package is 20kgs!
Hello Reggie!
I made a debug again:
I found the correct shipping rates in the debug informations, but they are not finally displayed.
15.27€ / 1.4141 (today's exchange rate $ -> €)= 10.798 !!!!
How am I able to avoid this calculation, because the submitted rates are already €, but the module "thinks" that it has to convert?
I already checked convertECB.php:
Used link:
var $document_address = 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml';
New link:
http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
Can this be the reason?
Best regards,
[attachment cleanup by admin]
Found the issue..the ups v1 module assumes that the currency being returned is in USD...go to ups.php, line 295:
$convert = true;
Change it to:
$convert = false;
This modification is specific to your configuration, so if anyone else tries this, be careful!
Hi Reggie
It works, thank you very much for your support !
Best regards,