Jump to content

USPS Authorization Error with 3.0.11?


Guest fozz

Recommended Posts

I upgraded today to 3.0.11 and now I get this error on going to step 4 of checkout.

Authorization Error connecting to United States Postal Service Server: https://secure.shippingapis.com/ShippingAPI.dll

Please register at http://www.usps.com/webtools/ and enter the correct username and password in the CubeCart control panel. You MUST have a successful test transaction before USPS will give you access to the live server.

Please go back and verify your login information. Remember, you must have your USPS issued username entered and something in the password box.

It worked before, so I'm not sure what is causing this? I've gone back into the admin and double checked everything and it all looks OK?

Link to comment
Share on other sites

I contacted USPS and they said that for the rate calculation that the URL should be http (not https).

The HTTPS they stated is for other areas of their service such as address verification and label printing.

So I guess I just need to know where to go and change this URL. I'll let the admins decide if this needs to be a patch or something.

Link to comment
Share on other sites

I tried this and it fixed the problem:

I went back into the modules/shipping/USPS/class.usps.php and changed:

$USPSURL = "https://secure.shippingapis.com/ShippingAPI.dll";

back to this:

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

and now it works fine. Just thought I should let everyone know who uses USPS.

Link to comment
Share on other sites

  • 3 weeks later...
Guest Kristina

I tried this and it fixed the problem:

I went back into the modules/shipping/USPS/class.usps.php and changed:

$USPSURL = "https://secure.shippingapis.com/ShippingAPI.dll";

back to this:

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

and now it works fine. Just thought I should let everyone know who uses USPS.

Yep,

I had the same problem and ended up changing back to the production server as well after reading on Zen and OsComm ;) forums that the rate calculators will not change only the other API's. Wish I had found your thread before I've been pulling my hair out for 3 days now.

I just downloaded 3.0.12 and the class.usps.php file still has the secure server listed, so make sure you change it if you upload the new file.

Link to comment
Share on other sites

Guest Tweety38

i'm having this prob to and nothing i try works i went in to the class php and took the test out and put the production in and took the s off the https and then i get an error

Parse error: parse error, unexpected '&' in /home/nune/public_html/store/modules/shipping/USPS/class.usps.php on line 239

nothing i try works. i had 3.0.12 installed then it messed up so i took it out and installed 3.0.11 at least the v11 don't shut my browser down like v12 did but i hav this prob with the shipping. i also tried the links u guy put up but they don't work either. at least not for me . what i need is for someone to set this darn thing up for me . ;)

sherry

Link to comment
Share on other sites

Guest Kristina

i'm having this prob to and nothing i try works i went in to the class php and took the test out and put the production in and took the s off the https and then i get an error

Parse error: parse error, unexpected '&' in /home/nune/public_html/store/modules/shipping/USPS/class.usps.php on line 239

nothing i try works. i had 3.0.12 installed then it messed up so i took it out and installed 3.0.11 at least the v11 don't shut my browser down like v12 did but i hav this prob with the shipping. i also tried the links u guy put up but they don't work either. at least not for me . what i need is for someone to set this darn thing up for me . :dizzy:

sherry

I can try and look for you. I'll pm you.

Kristina

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...