DragonEyeDesign Posted July 1, 2004 Posted July 1, 2004 I had the USPS shipping module working at one time, but now all of a sudden it returns an invalid country code (-2147218799 - Invalid Country.). Here's what I'm sending: <IntlRateRequest USERID="xxxxxxxxxxxx" PASSWORD="xxxxxxxxxxxx"> <Package ID="0"> <Pounds>3</Pounds> <Ounces>1</Ounces> <MailType>Package</MailType> <Country>China</Country> </Package> </IntlRateRequest> The USPS Webtools documentation gives an example: <IntlRateRequest USERID="xxxxxxxx" PASSWORD="xxxxxxxx"> <Package ID="0"> <Pounds>2</Pounds> <Ounces>0</Ounces> <MailType>Package</MailType> <Country>Albania</Country> </Package> </IntlRateRequest> The two are identical except for the details. Is anyone else having problems with USPS? Quote
phooey04 Posted July 25, 2004 Posted July 25, 2004 I'm having troubles too, but I don't have a fix yet. Quote
bglkk Posted July 25, 2004 Posted July 25, 2004 Maybe not the same problem, but USPS changed their International Rates Engine API a while back. http://www.oscommerce.com/forums/index.php?sho...20entry362202 Quote "Buy the ticket, take the ride..." -HST
phooey04 Posted July 26, 2004 Posted July 26, 2004 Still not sure what the problem was (could have been the Int'l API changed mentioned by bglkk), but I installed the USPS Methods 2.7b contribution and all is well. I'm also convinced the "test" server does not work with the default USPS shipping module in osC. Quote
bglkk Posted July 26, 2004 Posted July 26, 2004 Yah, the test server is pretty much useless. The Int'l API thing is nasty--the various shipping methods all show up fine for customers (with a nice cheap method as default)--but when they get to confirm, their choice is switched to an expensive one! All because some genius decided to change case for a few strings... Quote "Buy the ticket, take the ride..." -HST
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.