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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stewart.adam’s picture

Attaching patch.

TR’s picture

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.

stewart.adam’s picture

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.

TR’s picture

Title: uc_ups module needs updates to reflect the new UPS XML specification » Support 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.

TR’s picture

Component: Shipping » Fulfillment
Status: Active » Postponed