Mark H Posted November 10, 2013 Share Posted November 10, 2013 Brand new install of PS 1.5.6.0. I have installed the USPScarrier module, but it is having issues and cannot be configured. It appears that the module is trying to connect to the incorrect "test" server for USPS. How would this be corrected or fixed? Also, I am not a programmer, so simple working solutions are the best... of course I could just be missing some piece of information as to how to proceed with the configuration in test mode.. Thanks for the help! 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. 1. General Settings 2. Categories Settings 3. Products Settings 4. Help General configuration :Your USPS User ID : Please click here to get your USPS API Key. Origination Zip Code : This is the info I received from USPS for testing: Thank you for registering for the U. S. Postal Service's Web Tools Application Program Interfaces (APIs). We are providing you with a User ID that serves multiple purposes, as explained below.Your Username is 080MBMAC4939Your Password is 831IC41SP300Your Web Tools User ID, shown above, is required to test and integrate USPS Web Tools APIs. With this ID, you may begin sending calls to the test server. Depending on the API, the address to the test server is either http://production.shippingapis.com/ShippingAPITest.dll or https://secure.shippingapis.com/ShippingAPITest.dll. Use this information in combination with your User ID and your XML string to send a request to the USPS servers. For more details, refer to the programming guides (located at http://www.usps.com/webtools) for the specific API you are integrating.A sample test request would look like: "http://production.shippingapis.com/ShippingAPITest.dll?API=[API_Name]&XML=[xml_String_containing_User_ID]"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. Link to comment Share on other sites More sharing options...
Matt Sheridan Posted November 10, 2013 Share Posted November 10, 2013 Yeah. I'm in the same place, unfortunately. It's apparently a pretty common problem, too. The usual solution offered around here is to contact the USPS Web Tools people and ask them to switch your Web Tools account from testing to production mode, as outlined by Dougadanny here. That will probably work for you, so it's totally worth trying. On the other hand, I know my USPS Web Tools account is already in production mode because I've been using it with OpenCart for three years. But I've been getting exactly the same error from PrestaShop that you have! And there seem to be a few other folks for whom that solution didn't work, too. So another option—one I'm definitely looking into—would be trying a different module for USPS integration. People seem to like this one, for example. Best of luck! Link to comment Share on other sites More sharing options...
Recommended Posts