In my case, I switched to the Production Server after a call to the USPS. When doing the tests, International ratings work OK, but for some reason, US Domestic rates don't.
I found later, looking at the USPS programming Guides, that the API call for the ShippingAPI.dll for Domestic (US) rates is now "RateV3" and no longer "Rate". So the request must be changed to "RateV3Request USERID..." instead of the "RateRequest USERID..." used in the May 12, 2008 version. For International rates, "IntlRateRequest" is still used.
After doing the changes, Domestic rates are still not working. Seems like somehow, the module is stuck with "IntlRate" and not doing the switching when a Domestic rate is requested as the debugging function keeps returning an error with the IntlRate request as if the module didn't "realize" that a Domestic request was issued instead of an International one.
The error is listed bellow, and is typical, as when requesting a Domestic rate, and it is processed by the IntlRate request instead, the Country name is not transmitted.
And yes, I have the correct settings for the zip code and Country of origin in [Configuration] [Shipping/Packaging], which are Puerto Rico and 00985. All other parameters, like weight, service, etc are also set.
I'm really having a hard time at this :frusty:
error returned when requesting a DOMESTIC (US) rate (NOT International):
<?xml version="1.0"?>
<IntlRateResponse><Package ID="0"><Error><Number>-2147219080</Number><Source>;IntlRate.UnpackIntlRateNode</Source><Description>Missing value for Country.</Description><HelpFile></HelpFile><HelpContext>1000440</HelpContext></Error></Package></IntlRateResponse>
Regards,
Richard