Jump to content

USPS Rate Calculator Config Error


Recommended Posts

I'm trying to configure the USPS rate calculator and I keep getting an error. I've verified my USPS info and have even tried to uninstall and re-install the module.

 

Here's the error info"

forbbiden.gif Prestashop could not connect to USPS webservices :

Error 80040b1a : Authorization failure. You are not authorized to connect to this server.

 

Here is the additional info displayed:

warn2.pngU.S.P.S. Rate Calculator is not configured yet, you have to :

module_install.png 1) Fill in USPS User ID and Orignation Zip Code on the "General Settings" form

module_install.png 2) Select your available Delivery Services

warn2.png 3) Webservice test connection : Error 80040b1a : Authorization failure. You are not authorized to connect to this server.

 

Any assistance would be greatly appreciated.

Link to comment
Share on other sites

3) Webservice test connection : Error 80040b1a : Authorization failure. You are not authorized to connect to this server.

I have not used this module but from the error message it looks like a credential problem. Do you enter a username etc in module configuration? If so make sure there are no blank spaces before/after (happens with copy&paste). If you are still having problems contact USPS, they should be able to help.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Yes, I uninstalled the USPS shipping module and reinstalled it. I am using version 1.2.4. I was having paypal issues and had to go back couple versions across the board so not sure if that fixed it or not, but all is working now. Once last week the USPS locked up and I logged in and viewed it and saved and it started working again. I didn't change anything.

 

It will make you crazy!

Link to comment
Share on other sites

I can sure tell you it's a headache getting the USPS module to link up to their server i had to call them many times in order to get the right log-in information to their servers.

 

If I remember correctly they send you 2 different emails 1 for test and the other for live. So please make sure it's for live server if that's what you're wanting..

 

Just wanted to share my exp. with you with this module..

Link to comment
Share on other sites

  • 2 weeks later...

I had the same error code and message. I beat my head against my computer for days until I noticed when I pasted my username into the id section, it put an extra space in the front. I deleted that space and was able to configure the module.

 

In the email response from USPS after moving my over to the live server, they stated I needed to find a line of code reading "shippingapitest.dll" you must find and delete the word "test". This is where I am stuck at, I can't seem to find that.

Link to comment
Share on other sites

  • 1 month later...

As it looks like you are in need of a fast solution (as you're losing money), you may want to hire a developer to look and resolve the problem.

 

You can also check out the following module http://www.prestashop.com/forums/index.php?/topic/82488-module-usps-get-real-time-shipping-rates-from-usps-with-shipping-preview-on-the-product-page/ we offer free installation support if needed.

Link to comment
Share on other sites

Tom,

Thank you for the reply, however, it was working fine until the last update from PrestaShop. I feel they should fix the problem. I'm not the only one, there are about 400 people complaining about the same issue.

I'm not trying to sound crabby or rude to you and I do appreciate your input. My site has been fine for over 8 months as far as shipping is concerned.

 

PrestaShop needs to send out an update with it corrected.

 

If you have a "fix": I can try, I'm all over that.

Thanks

Cami

  • Like 1
Link to comment
Share on other sites

I don't have a fix, and while I see your point, if you are indeed losing money, it seems like the top priority should be getting it working again, regardless of who are what is responsible.

 

When you use a free open source software, getting support can take a long time, as there are thousands of customers that report issues.

Link to comment
Share on other sites

  • 1 month later...

Well not sure if I have it figured out or not. Will be able to tell everyone in a few days.

 

First the module is sending the calls to the "production" servers, correct? Well the email from USPS states that you are on the "test servers till you make a few test runs first with your API. Then as they say

 

When you have completed your testing, email the USPS Internet Customer Care Center (ICCC). They will switch your profile to allow you access to the production server and will provide you with the production URLs.

 

So how to test your ID....Copy this code into your browser and change the XXXXX to your Username the USPS gave you.

http://production.shippingapis.com/ShippingAPITest.dll?API=ZipCodeLookup&XML=<ZipCodeLookupRequest USERID="XXXXXXXXXX"><Address ID="0"><Address1></Address1><Address2>6406 Ivy Lane</Address2><City>Greenbelt</City><State>MD</State></Address></ZipCodeLookupRequest>

EDIT

Post office may give you a headache and say they can't see it (worked on my site, but not for my client). If that is the case. Run these two also.

 

http://production.shippingapis.com/ShippingAPITest.dll?API=ZipCodeLookup&XML=<ZipCodeLookupRequest USERID="XXXXXX"><Address ID="1"><Address1></Address1><Address2>8 Wildwood Drive</Address2><City>Old Lyme</City><State>CT</State></Address></ZipCodeLookupRequest>

http://production.shippingapis.com/ShippingAPITest.dll?API=CityStateLookup&XML=<CityStateLookupRequest USERID="XXXXXXXX"><ZipCode ID= "0"><Zip5>90210</Zip5></ZipCode></CityStateLookupRequest>

 

 

Run the page (Actually hit the server) about 5 or 6 times. Then forward your email that you recieved with your ID to [email protected] stating

 

We have completed 5 test runs on the API. Please allow us access to the production servers.

 

 

Again, I will let everyone know if this works...in theory (17 years of IT) it should.

Edited by URENIGMA (see edit history)
Link to comment
Share on other sites

Well it is confirmed. I got the email today from the US Postal service:

Dear URENIGMA,

 

Thank you for contacting the USPS Internet Customer Care Center in regards to having your Web Tools account, XXXXXXXXX, moved to the Production server. I am happy to assist you today.

 

I would like to congratulate you on moving to production for the U.S. Postal Service's Web Tools Application Program Interfaces (APIs).

 

 

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

 

So once I got that I went to the module and clicked on the save the config and got

U.S.P.S. Rate Calculator is configured and online!

 

So USPS Module is now online :-) Happy Shipping everyone

  • Like 1
Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...

I had the same problem with the same error but it solved it when I called USPS. They moved my ID from test to production and that was that.

 

Actually, I have a problem of my own I'd like to discuss.

 

I am trying to set up shipping rules for certain items such as: using SM flat rate boxes. The fee for that is $5.15 but the fee displayed in the cart is $7.60 and I don't know why that is.

 

It does not seem to take in consideration anything I do about handling fees (increasing, reducing, etc), SM vs. MD size flat rate boxes. It just displays the price for priority (the wrong one) and the price for express.

 

Help please.

Edited by adidienne (see edit history)
Link to comment
Share on other sites

I gave up.. I have been in production mode for over a year, I called USPS, got a new code, moved it to production/live, and it still didn't work. Thus the free shipping. Something in the last update from Prestashop didn't jive with my site and I'm not the only one. After trying and asking for help for 5 months, I gave...

As far as your shipping price issue... I never encountered that one.. I used weight as a factor when shipping. You can choose the same and offer free shipping....

Hope that helps

Cami

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...