I'm using Satchmo u'1.0-pre-SVN-1482'

So I ran into this nice error: "UPS Hard Error: Code 110208 - Missing/
Illegal ShipTo/Address/CountryCode"

Then I looked at the UPS request.xml code and saw this

   <ShipTo>
   ...
        <CountryCode>{{contact.shipping_address.country}}</
CountryCode>
   ...
    </ShipTo>

The issue is that the CountryCode node will display the country name
and NOT the country code.

So I updated to:

   <ShipTo>
   ...
        <CountryCode>{{contact.shipping_address.country.iso2_code}}</
CountryCode>
   ...
    </ShipTo>


It's a fix for now but prob should get into trunk if it's not.

Just wanted to drop this heads up if anyone else comes across it.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to