Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#3 | uc_ups-new_xml_specification-1548200-3.patch | 2.46 KB | stewart.adam |
#1 | uc_ups-new_xml_specification-1548200-1.patch | 2.4 KB | stewart.adam |
Comments
Comment #1
stewart.adam CreditAttribution: stewart.adam commentedAttaching patch.
Comment #2
TR CreditAttribution: TR commentedI 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.
Comment #3
stewart.adam CreditAttribution: stewart.adam commentedPerhaps 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.
Comment #4
TR CreditAttribution: TR commentedWill do this first in 8.x-4.x then backport to 7.x-3.x if there's interest.
Comment #5
TR CreditAttribution: TR commented