I have zen-cart 1.3.7 and found a bug with UPS shipping module. We have never been able to get international shipping methods beyond the US and Canada to work. I found out why.
For starters the current UPS shipping module does not offer the WXS shipping method which is Worldwide Express Saver (might add it later?)
When i got it to add that method i found it was showing only $1 shipping charge. The reason is in teh UPS.php module around line 170 the returned cost from UPS is returned as $1,213.87 but as a string and not an int. So when it goes on to do the cost calc of ($cost + MODULE_SHIPPING_UPS_HANDLING) * $shipping_num_boxes) the multiplication of the number of boxes causes it to reset the value to $1 cause the returned value from UPS is a string (due to the comma for it being over $1,000). I added a preg_replace to remove the , from the returned value and it fixed it but i think this should be looked at and fixed in future releases or maybe it was and i dont have the newest verison.
Bookmarks