Hello, we have a Ubercart (Drupal 5, UC 5.x-1.9) website based in California that ships to the U.S. and Canada using UPS and USPS. Shipping quotes are returned fine for U.S. addresses. However, we are unable to get quotes returned when shipping to an address in Canada.
The errors appear after entering the shipping address on the checkout page. Ubercart tries to get a quote, but then shows this:
undefined: Please enter a valid ZIP Code for the recipient.
There were problems getting a shipping quote. Please verify the delivery and product information and try again.
If this does not resolve the issue, please call in to complete your order.
I have also enabled "Debugging information is displayed to administrators when quotes are generated.". As there are 4 UPS services checked, I'm getting 4 debug error strings. Since I'm assuming they're essentially the same, here's the 1st debug message:
undefined:
Hard 111210: The requested service is unavailable between the selected locations.
<?xml version="1.0" encoding="UTF-8"?>
<AccessRequest xml:lang="en-US">
<AccessLicenseNumber>0C0B637B9246A0C0</AccessLicenseNumber>
<UserId>xxxx</UserId>
<Password>xxxx</Password>
</AccessRequest>
<?xml version="1.0" encoding="UTF-8"?>
<RatingServiceSelectionRequest xml:lang="en-US">
<Request>
<TransactionReference>
<CustomerContext>Complex Rate Request</CustomerContext>
<XpciVersion>1.0001</XpciVersion>
</TransactionReference>
<RequestAction>Rate</RequestAction>
<RequestOption>rate</RequestOption>
</Request>
<PickupType>
<Code>01</Code>
</PickupType>
<CustomerClassification>
<Code>01</Code>
</CustomerClassification>
<Shipment>
<Shipper>
<ShipperNumber>38F7W6</ShipperNumber>
<Address>
<City>Garberville</City>
<StateProvinceCode>CA</StateProvinceCode>
<PostalCode>95542-3108</PostalCode>
<CountryCode>US</CountryCode>
</Address>
</Shipper>
<ShipTo>
<Address>
<StateProvinceCode>SK</StateProvinceCode>
<PostalCode>S4V3E8</PostalCode>
<CountryCode>CA</CountryCode>
</Address>
</ShipTo>
<ShipFrom>
<Address>
<StateProvinceCode>CA</StateProvinceCode>
<PostalCode>95542</PostalCode>
<CountryCode>US</CountryCode>
</Address>
</ShipFrom>
<ShipmentWeight>
<UnitOfMeasurement>
<Code>LBS</Code>
<Description>Pounds</Description>
</UnitOfMeasurement>
<Weight>1.0</Weight>
</ShipmentWeight>
<Service>
<Code>12</Code>
<Description>UPS 3-Day Select</Description>
</Service>
<Package><PackagingType><Code>02</Code></PackagingType><Dimensions><UnitOfMeasurement><Code>IN</Code></UnitOfMeasurement><Length>6.00</Length><Width>6.00</Width><Height>1.00</Height></Dimensions><PackageWeight><UnitOfMeasurement><Code>LBS</Code><Description>Pounds</Description></UnitOfMeasurement><Weight>1.0</Weight></PackageWeight><PackageServiceOptions><InsuredValue><CurrencyCode>USD</CurrencyCode><MonetaryValue>16.95</MonetaryValue></InsuredValue></PackageServiceOptions></Package></Shipment>
</RatingServiceSelectionRequest>
<?xml version="1.0"?>
<RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Complex Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>0</ResponseStatusCode><ResponseStatusDescription>Failure</ResponseStatusDescription><Error><ErrorSeverity>Hard</ErrorSeverity><ErrorCode>111210</ErrorCode><ErrorDescription>The requested service is unavailable between the selected locations.</ErrorDescription></Error></Response></RatingServiceSelectionResponse>
I should make clear that the zip code being entered is indeed valid. Interestingly, I'm not seeing any debug info. for the lack of USPS quotes...
I found some similar issues on this forum, and tried a few things (checking the workflow conditions, deselecting various UPS services), but nothing worked. I'm running out of ideas, and am not sure how to interpret the debug code. Any advice will be much appreciated!
Jim


