View Full Version : UPS XML Rates and Services v1.0

08-27-2009, 02:00 PM
Fixed a bug where UPSXML was changing the value of $shipping_num_boxes provided by osCommerce without ever using the changed value. This was causing problems with the USPS shipping module.

In testing the packaging with an order for a large number of "ready to ship" products I discovered that the UPS rates tool cannot process a shipment with more than 50 boxes. While it isn't likely that anyone will actually place an order that will be divided into more than 50 boxes we still don't want an error message returned if such an order does get placed. I therefore added code to the _upsGetQuote routine to split such orders into groups of 50 boxes in order to retrieve all of the quotes and then more code in the parseResult routine to combine the multiple shipment quotes into a single set of rate quotes so that service types aren't listed more than once.

Added code to display the billed weight for each service (the dimensional weight) if weights are being displayed.

Note: The only changes were made to the two upsxml.php files. If you already have version 1.3.6 installed you can simply replace those two files and be done since no configuration variables were changed from version 1.3.6.

More... (http://addons.oscommerce.com/info/1323)