Jump to content

USPS Testing - Authorization Error


Guest qwarktastic

Recommended Posts

Guest qwarktastic

I have a USPS user id and entered in a password, saved the shipping information, then went back in and hit the test button so CubeCart will test USPS shipping. This is what I get, any suggestions? Thanks

-Tom

usps-error.jpg

Link to comment
Share on other sites

Guest steveboy

I have a USPS user id and entered in a password, saved the shipping information, then went back in and hit the test button so CubeCart will test USPS shipping. This is what I get, any suggestions? Thanks

-Tom

usps-error.jpg

Most of us are getting something similar right now. See the thread below yours.

Link to comment
Share on other sites

Guest FelipeT

I am having an identical issue. I checked with USPS and they confirmed that my registration with them was fine and that they even moved me over to production servers. yet i cannot test successfully.

Any suggestions yet?

Link to comment
Share on other sites

Guest BigLeon

I have had the same issue... USPS gave me a the following:

"Congratulations on completing your testing using the U.S. Postal

Service's Internet Shipping Application Program Interfaces (APIs).

Your profile has been updated to allow you access to the Production Server.

The URL you will use for the Production Server is:

Production.ShippingAPIs.com/ShippingAPI.dll

If you have any questions, please contact the Technical Support Center.

The Technical Support Center is manned from 7:00AM to 11:00PM Eastern Time.

Email: [email protected]

Telephone: 1-800-344-7779 (7:00AM to 11:00PM ET)

Thank you for helping the U.S. Postal Service provide new internet

services to our shipping customers.

Sincerely,

The Internet Shipping Solutions Team"

Is there somewhere I need to move that link to? or a fix i can get?

thank you

Link to comment
Share on other sites

  • 3 weeks later...
Guest hrioo

In case anyone is still getting a similar error, this is the email i received from USPS:

"...Thank you for contacting us. Congratulations on completing your testing using the U.S. Postal Service's Internet Shipping Application Program Interfaces (APIs).

Your profile has been updated to allow you access to the Production Server.

1. The Production Server URL is: http://production.shippingapis.com. For APIs calling the secure server, the URL is https://secure.shippingapis.com.

2. There is a line of code that refers to "shippingapitest.dll". You'll need to remove the word "test"..."

SO here's what i changed:

open modules/shipping/USPS/class.usps.php and find the following line (around line 424 or so):

$USPSURL = "http://production.shippingapis.com/ShippingAPITest.dll";

and change it to:

$USPSURL = "http://production.shippingapis.com/ShippingAPI.dll";

Link to comment
Share on other sites

Guest midwest

The note about accessing their API from a secure location seems to spark some ideas. I wonder if that's why some of us are having trouble?

Hi Alan,

I did try that. Tried accessing from browser and tried changing the code, ddin't seem to make any difference.

Unless of corse I did something wrong. Which is always possible. :whistle:

However, what hrioo has done is nessacery in order for the quotes to come up. This is a change in the code with in the CC files. You need to change it once you have run the test and on the LIVE server.

One thing I didn't try is putting it back to run the test again after USPS changes. Not sure if that would make any difference in the International test Authorization error or not.

But, doesn't Al's new module fix most (all) of the problems ?

midwest B)

Link to comment
Share on other sites

Guest AnnieK2

In case anyone is still getting a similar error, this is the email i received from USPS:

"...Thank you for contacting us. Congratulations on completing your testing using the U.S. Postal Service's Internet Shipping Application Program Interfaces (APIs).

Your profile has been updated to allow you access to the Production Server.

1. The Production Server URL is: http://production.shippingapis.com. For APIs calling the secure server, the URL is https://secure.shippingapis.com.

2. There is a line of code that refers to "shippingapitest.dll". You'll need to remove the word "test"..."

SO here's what i changed:

open modules/shipping/USPS/class.usps.php and find the following line (around line 424 or so):

$USPSURL = "http://production.shippingapis.com/ShippingAPITest.dll";

and change it to:

$USPSURL = "http://production.shippingapis.com/ShippingAPI.dll";

sadly, this fix didnt work for me! LUCKY YOU!!

Link to comment
Share on other sites

Guest hrioo

In case anyone is still getting a similar error, this is the email i received from USPS:

"...Thank you for contacting us. Congratulations on completing your testing using the U.S. Postal Service's Internet Shipping Application Program Interfaces (APIs).

Your profile has been updated to allow you access to the Production Server.

1. The Production Server URL is: http://production.shippingapis.com. For APIs calling the secure server, the URL is https://secure.shippingapis.com.

2. There is a line of code that refers to "shippingapitest.dll". You'll need to remove the word "test"..."

SO here's what i changed:

open modules/shipping/USPS/class.usps.php and find the following line (around line 424 or so):

$USPSURL = "http://production.shippingapis.com/ShippingAPITest.dll";

and change it to:

$USPSURL = "http://production.shippingapis.com/ShippingAPI.dll";

sadly, this fix didnt work for me! LUCKY YOU!!

Did you run the test again after taking out the word "test" from that line? That's what i did before it started working. Wouldn't know what else to say otherwise because i'm new to cubecart.

Link to comment
Share on other sites

Guest Jump1979man

That wont work because the code is for an if/else statement.....

if you change that line then all your doing is bypassing the IF which is for the testing....

Link to comment
Share on other sites

  • 2 weeks later...
Guest cmikes

same issue here with me....anyone actually solved this yet?

I haven't solved it yet, but the problem seems to be that the API name for the international test is wrong. When I looked at the xml response, I got this:

80040b1a

API Authorization failure. IntlRate is not a valid API name for this protocol.

UspsCom::DoAuth

I've been looking, but I can't find any references to what the correct api name possibilities are. Does anyone have any information on this?

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...
Guest Coffeehouse

:) I was not able to find the code you posted but did find on line 845 the following:

if($module['test']==1){

$USPSURL = "http://testing.shippingapis.com/ShippingAPItest.dll";

} else {

$USPSURL = "http://production.shippingapis.com/ShippingAPI.dll"

I changed the first line to: $USPSURL = "http://testing.shippingapis.com/ShippingAPI.dll";

and everything worked from there!

;

In case anyone is still getting a similar error, this is the email i received from USPS:

"...Thank you for contacting us. Congratulations on completing your testing using the U.S. Postal Service's Internet Shipping Application Program Interfaces (APIs).

Your profile has been updated to allow you access to the Production Server.

1. The Production Server URL is: http://production.shippingapis.com. For APIs calling the secure server, the URL is https://secure.shippingapis.com.

2. There is a line of code that refers to "shippingapitest.dll". You'll need to remove the word "test"..."

SO here's what i changed:

open modules/shipping/USPS/class.usps.php and find the following line (around line 424 or so):

$USPSURL = "http://production.shippingapis.com/ShippingAPITest.dll";

and change it to:

$USPSURL = "http://production.shippingapis.com/ShippingAPI.dll";

Link to comment
Share on other sites

Guest peapiebaby

I am so totally lost!

I am not capable apparently of doing whatever you all are talking about b/c I have no clue what you mean, what lines there are, etc...

I created my store right around the time of the rate change and haven't been able to get it to work since w/ USPS. I've been taking orders over the phone b/c local people (local in our state) don't want to pay for UPS.

Can anyone explain to me what I should do in layman's terms? Please?

Thanks!

Elizabeth

www.PeaPieBaby.com

[email protected]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...