Estimate Shipping Configuration UPS/USPS (RateV4 is not a valid API)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 yıl önce
Is additional configuration required for the Estimate Shipping feature in the shopping cart?

I get the following error:

USPS Error returned: Error Desc: Authorization failure. Perhaps username and/or password is incorrect.

Upon entering user/password from USPS web tools, and using one of the test servers:

http://testing.shippingapis.com/ShippingAPITest.dll
https://secure.shippingapis.com/ShippingAPITest.dll

The error changes to:

USPS Error returned: Error Desc: API Authorization failure. RateV4 is not a valid API name for this protocol.
12 yıl önce
You receive the error: "USPS Error returned: Error Desc: API Authorization failure. RateV4 is not a valid API name for this protocol." when using the testing server URL (http://testing.shippingapis.com/ShippingAPITest.dll) because it uses an older version of the API (RateV2) and nopCommerce 2.30 uses RateV4.

You need to use the production server URL: http://production.shippingapis.com/ShippingAPI.dll . In order to use the production server, you need to call or send an email to the USPS Internet Customer Care Center (address is in your USPS registration email) and ask to have your profile updated for production.

.
12 yıl önce
I figured there was something like that going on and it would be resolved once I moved to the production environment.  Looks like V2 is still used for the international Rate service.  Thanks for the info.
12 yıl önce
I have the same issue. Though when I call USPS they tell me that I haven't run two tests yet and wont switch me to the production API. Anyone else had this issue? Anyone have a sample API call that they used to get past this to register the two tests in the syntax of:

http://testing.shippingapis.com/ShippingAPITest.dll?API=[API_Name]&XML=[XML_String_containing_User_ID]
12 yıl önce
OK got that sorted. You just call them and tell them that you're using nopCommerce and all is good, they switch you over.

The next issue I have is trying to use the International API. Here's what I get thrown:

USPS Error returned: Error Desc: API Authorization failure. IntlRateV2 is not a valid API name for this protocol.

Is there a newer version?
12 yıl önce
mkleef wrote:
The next issue I have is trying to use the International API. Here's what I get thrown:

USPS Error returned: Error Desc: API Authorization failure. IntlRateV2 is not a valid API name for this protocol.

Just tested the international rate calculation. Everything works (I'm using production API)
12 yıl önce
Replied on other thread too. User error in my case. Missed changing the dll name for the correct one...
12 yıl önce
mkleef wrote:
Replied on other thread too. User error in my case. Missed changing the dll name for the correct one...

OK.
P.S. Please do not duplicate forum topics or questions
11 yıl önce
Anyone getting this error w/ the live API

What I'm using (as per USPS)
https://secure.shippingapis.com/ShippingAPI.dll


"Shipping (USPS (US Postal Service)). USPS Error returned: Error Desc: API Authorization failure. RateV4 is not a valid API name for this protocol."

Please help, anyone?
11 yıl önce
Got it figured out - I switched to  the non-secure api and it works.
So the USPS secure API is not version 4 (that's the govt for you)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.