Guest fozz Posted July 27, 2006 Share Posted July 27, 2006 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? Quote Link to comment Share on other sites More sharing options...
Guest fozz Posted July 27, 2006 Share Posted July 27, 2006 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. Quote Link to comment Share on other sites More sharing options...
Guest fozz Posted July 28, 2006 Share Posted July 28, 2006 OK, I found the location in the file class.usps.php where it was calling: https://secure.shippingapis.com/ShippingAPI.dll I changed it to http then got this error: XML error: no element found at line 1 Really strange? So I changed it back and am still at square one. Does anyone have any helpful solutions? Quote Link to comment Share on other sites More sharing options...
Guest Koilagoon Posted July 28, 2006 Share Posted July 28, 2006 same problem Quote Link to comment Share on other sites More sharing options...
Guest Coder68 Posted July 29, 2006 Share Posted July 29, 2006 Report it in the bug tracker... http://bugs.cubecart.com Coder68 Quote Link to comment Share on other sites More sharing options...
Guest fozz Posted July 29, 2006 Share Posted July 29, 2006 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. Quote Link to comment Share on other sites More sharing options...
Guest Kristina Posted August 17, 2006 Share Posted August 17, 2006 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. Quote Link to comment Share on other sites More sharing options...
Guest Kristina Posted August 17, 2006 Share Posted August 17, 2006 Report it in the bug tracker... http://bugs.cubecart.com Coder68 Done! Quote Link to comment Share on other sites More sharing options...
Guest kistler Posted August 24, 2006 Share Posted August 24, 2006 AMEN - Yes this fixed it on mine also. Thanks you. Craig Quote Link to comment Share on other sites More sharing options...
Guest Tweety38 Posted August 30, 2006 Share Posted August 30, 2006 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 Quote Link to comment Share on other sites More sharing options...
Guest Kristina Posted August 30, 2006 Share Posted August 30, 2006 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 I can try and look for you. I'll pm you. Kristina Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.