No replies
imstillatwork's picture
Offline
Bug Finder
Joined: 12/27/2008
Juice: 207
Was this information Helpful?

I have been using the USPS live rates from the shipping module. I wanted to enable shipping to canada. I keep getting:

"undefined: Please enter a valid ZIP Code for the recipient. "

errors even though the ship-to address is complete and correct. any ideas?

API=RateV3&XML=<RateV3Request USERID="xxxxxxx"><Package ID="0"><Service>ALL</Service><ZipOrigination>97415</ZipOrigination><ZipDestination>V3A3Y</ZipDestination><Pounds>2</Pounds><Ounces>8.0</Ounces><Container>RECTANGULAR</Container><Size>REGULAR</Size><Machinable>True</Machinable></Package></RateV3Request>

<?xml version="1.0"?>
<RateV3Response><Package ID="0"><Error><Number>-2147219497</Number><Source>DomesticRatesV3;RateEngineV3.ProcessRequest</Source><Description>Please enter a valid ZIP Code for the recipient.  </Description><HelpFile></HelpFile><HelpContext>1000440</HelpContext></Error></Package></RateV3Response>

I THINK It's because ubercart cuts the zip to only 5 digits, but international (canada at least) should allow 6

thanks for helping!