Electronixbarn Posted October 9, 2013 Share Posted October 9, 2013 I'm using the USPS module that came with Prestashop v1.5.5 and I'm getting the following errors: Prestashop could not connect to USPS webservices :Error 80040b1a : Authorization failure. You are not authorized to connect to this server. Connect to USPS Module StatusConnect to USPS is not configured yet. You must: 1) Fill in USPS User ID and orignation Zip Code in the "General Settings" form 2) Select you available delivery services 3) Webservice test connection : Error 80040b1a : Authorization failure. You are not authorized to connect to this server. When I registered at the USPS website for a API key I got two things back from the post office. I got a Username and a Password. This module is only looking for an API number. What do I give it? Or did I register for the wrong thing? Thank you! Link to comment Share on other sites More sharing options...
qualifoodfaster Posted October 9, 2013 Share Posted October 9, 2013 When I set this up I ended up calling the USPS because the system would not recognize the connection and the USPS people switched it from there side and it worked then all it is they have to switch it to live and not test Link to comment Share on other sites More sharing options...
Electronixbarn Posted October 9, 2013 Author Share Posted October 9, 2013 Thank you qualifoodfaster. For anyone else out there having this issue.... unlike paypal that lets you use your account in "sandbox" mode for some reason the USPS doesn't think an account in testing mode should have access to any information. So you have to call them on their 800# and get them to activate your account. One question they asked was did I want address verification and address label printing from within PrestaShop. Does anyone have experience with this from within the backoffice or is this not a function that PrestaShop can do? Thanks again! Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 9, 2013 Share Posted October 9, 2013 Hello all, for clarification,USPS needs to be contacted in order for your account. They do not provide you an API until after you contact them. Then they will connect your account manually. Happy Selling! Link to comment Share on other sites More sharing options...
Dougadanny Posted November 8, 2013 Share Posted November 8, 2013 (edited) Got the process down. This was a pain and some of the USPS site developer instructions are actually incorrect and confusing. Providing this info, hope it helps others. 1. First, go to the USPS and register for a Webtools API. https://www.usps.com/business/web-tools-apis/welcome.htm? They will send you an email with all your account information. After your account is set up, it is on a testing server. You cannot connect through Prestashop module. 2. You must run tests first before they will move you to a production server. Here is where the issue is and where most people get stuck. The developer guides have XML code that didn't work or are outdated. After digging, finally found code that worked here https://www.usps.com/business/web-tools-apis/service-standards-and-commitments.htm. Run a minimum of 2 tests. I ran 4 to be sure.NOTE: For a couple of the codes provided you have to replace "SERVERNAME/PATH" with the correct path they sent you, usually, "production.shippingapis.com/ShippingAPITest.dll" or "secure.shippingapis.com/ShippingAPI.dll". 3. Then call them at 1-800-344-7779 (7:00AM to 11:00PM ET), with the registered email and Username, ask them to move the account to the live production server. They will be able to confirm that you have completed the required tests. 4. Your account information will now work in Prestashop. Good luck Daniel Edited November 8, 2013 by Dougadanny (see edit history) Link to comment Share on other sites More sharing options...
margenmill Posted November 8, 2013 Share Posted November 8, 2013 (edited) I really appreciate that you took all this time to try and help us.thanks for the sharing http://checkerplagiarism.net/ Edited January 29, 2014 by margenmill (see edit history) Link to comment Share on other sites More sharing options...
Urbanfarmer Posted November 8, 2013 Share Posted November 8, 2013 Unfortunately for me, the USPS function in PS doesn't handle Regional Priority rates. That is all we use because the rates are lower than regular Priority. We will have to use a third party for all of our USPS shipping.....which slows us down significantly. Link to comment Share on other sites More sharing options...
Recommended Posts