As far as I understand, UPS has changed a few fields in its XML specification that is causing certain international shipments to fail. For example, shipments to Canada and Puerto Rico now require additional XML fields detailing the monetary value of a shipment.

The attached patch updates the module to meet the new UPS XML specification.

Files: 
CommentFileSizeAuthor
#3 uc_ups-new_xml_specification-1548200-3.patch2.46 KBstewart.adam
PASSED: [[SimpleTest]]: [MySQL] 1,536 pass(es).
[ View ]
#1 uc_ups-new_xml_specification-1548200-1.patch2.4 KBstewart.adam
PASSED: [[SimpleTest]]: [MySQL] 1,536 pass(es).
[ View ]

Comments

StatusFileSize
new2.4 KB
PASSED: [[SimpleTest]]: [MySQL] 1,536 pass(es).
[ View ]

Attaching patch.

I don't know for certain whether the UPS label printing was designed to work for international shipments - I suspect not. You may find a number of things missing. Customs data, for example; there is no provision in Ubercart to enter the data like harmonized tariff codes that you will need to submit an electronic customs form.

One issue with your patch is that although there is a .cif file for Puerto Rico, the more common use case will be to choose United States as the destination country with PR as the zone.

StatusFileSize
new2.46 KB
PASSED: [[SimpleTest]]: [MySQL] 1,536 pass(es).
[ View ]

Perhaps we can work our way there slowly then; for now this seems to be working well on my site though.

Updated patch attached with fix for PR.

Title:uc_ups module needs updates to reflect the new UPS XML specificationSupport UPS label printing for international shipments
Version:6.x-2.x-dev» 8.x-4.x-dev
Component:Code» Shipping
Category:Bug report» Feature request
Issue summary:View changes
Status:Needs review» Active

Will do this first in 8.x-4.x then backport to 7.x-3.x if there's interest.