Al Brookbanks Posted June 12, 2007 Share Posted June 12, 2007 * UPDATED 11th JULY v4 - tested & working with National & International * - Although the documentations says test transactions have to be passed before they will move your account to the production server this is not longer the case. New activation instructions can be found in the new module attached. Below is a new USPS module which addresses the changes for Rate v3. It has been tested on CubeCart 3.0.16 returning both international and national quotes. To install take a backup of your store and upload the contents over your existing files. MOD Edit: Related thread posted/stickied: HereUSPSv4.zip Quote Link to comment Share on other sites More sharing options...
Guest midwestdedicated Posted June 12, 2007 Share Posted June 12, 2007 We have installed this modificate, but still receive the following error. With Debugging on: USPS ERROR: International mail type not set. With Debiggin off: Failed to add package Is there some other setting in the admin section we need to use? Below is a new USPS module which addresses the changes for Rate v3. It has been tested on CubeCart 3.0.16 returning both international and national quotes. To install take a backup of your store and upload the contents over your existing files. Quote Link to comment Share on other sites More sharing options...
Guest hrblcantra Posted June 12, 2007 Share Posted June 12, 2007 Tried it and get the following no matter how I have priority mail setup. Authorization Error connecting to United States Postal Service Server: http://testing.shippingapis.com/ShippingAPITest.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. Quote Link to comment Share on other sites More sharing options...
Guest muggsrocks Posted June 13, 2007 Share Posted June 13, 2007 Tried it and get the following no matter how I have priority mail setup. Authorization Error connecting to United States Postal Service Server: http://testing.shippingapis.com/ShippingAPITest.dll Ditto Very frustrating. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted June 13, 2007 Author Share Posted June 13, 2007 Strange it worked for me. Have you edited the module page to update your configuration? Just go to Admin >> Modules >> Shipping >> USPS and click the submit button to edit the module configuration. Quote Link to comment Share on other sites More sharing options...
Guest gatonegra Posted June 13, 2007 Share Posted June 13, 2007 No luck here either Get the error: Authorization Error connecting to United States Postal Service Server: http://testing.shippingapis.com/ShippingAPITest.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. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted June 13, 2007 Author Share Posted June 13, 2007 As far as I know this works for those who have an activated USPS account. I'll be going over their documentation today to see how you are supposed to submit a test transaction I've tried the new staging server and old test server but neither will have it. I'm sorry for any inconvenience caused and I'm struggling to understand why this has proven to been so difficult. I will post back asap. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 13, 2007 Share Posted June 13, 2007 Whereas I was able to get quotes using the previously updated module (v2a), I am unable to get any rate quotes from the tests with this one. I get an authorization error like the others. I have emailed USPS customer care to verify that my account is still active. I was switched live soon after I purchased my CC license, which was a year or two ago, so I expect that it's still good. If not, I'll let you know. EDIT: USPS confirmed that my account is still active. Quote Link to comment Share on other sites More sharing options...
Guest Niki Posted June 13, 2007 Share Posted June 13, 2007 Hi, I uploaded this most recent USPS fix and while I did pass the auth test, I am now getting "Failed to add the package" when I try to do a test check out. Any ideas why it is doing this? Sorry, I should clarify... I passed the authorization test with the previous USPS fix that was posted in the other topic (I presume that one had the international test commented out?). I tried to rerun it using the one posted in this topic, and it indeed failed. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted June 13, 2007 Author Share Posted June 13, 2007 Right I think the test URL is wrong. Can someone be so kind as to try: $USPSURL = "http://stg-production.shippingapis.com/shippingapi.dll"; Rather than: $USPSURL = "http://testing.shippingapis.com/ShippingAPITest.dll"; On around line 438 Quote Link to comment Share on other sites More sharing options...
Guest Workshed Media Posted June 13, 2007 Share Posted June 13, 2007 Right I think the test URL is wrong. Can someone be so kind as to try: $USPSURL = "http://stg-production.shippingapis.com/shippingapi.dll"; Rather than: $USPSURL = "http://testing.shippingapis.com/ShippingAPITest.dll"; On around line 438 Just tried that with no luck -- still getting authentication error with no rate results. Quote Link to comment Share on other sites More sharing options...
Guest hrblcantra Posted June 13, 2007 Share Posted June 13, 2007 Authorization Error connecting to United States Postal Service Server: http://stg-production.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. Still getting the same error, different url now though. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted June 14, 2007 Author Share Posted June 14, 2007 The thing that is killing me is that this module is working if your account is live on their production server. It just won't seem to work with the test URL. I was on the phone to USPS last night but we couldn't resolve it. I will have to pay attention to this again today. Quote Link to comment Share on other sites More sharing options...
Guest Niki Posted June 14, 2007 Share Posted June 14, 2007 My account IS live with the USPS servers, but I get the "Failed to add a package" error, AND fail in the tests if I re-run them. I got my email from USPS saying my account was live yesterday morning, and I did my test checkout (getting the failed add a package error) and ran the USPS tests from the config page, AFTER I got that email. How does that fit into this issue? Is there a way to get the "Failed to add a package" error fixed? I could care less about using the test servers now, I was just seeing if it worked or not with the new update. All I care about is getting rid of that error so someone can actually check out using that module! Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted June 14, 2007 Author Share Posted June 14, 2007 I had this working this morning for v3 and the changes are in v4. I will release a new package a little later. We are flat out right now as it is v4 Beta release day. Quote Link to comment Share on other sites More sharing options...
Guest Niki Posted June 14, 2007 Share Posted June 14, 2007 By the way, I have seen the fixes for the "Failed to add a package" error in the old revisions (like 3.0.8 or something) on the forums, like back in 2006, but I don't want to use those fixes now because of how many revisions there have been since then. If someone can figure out how those fixes would apply to this revision (I have 3.0.15 with the USPS fix posted in this topic), that is pretty much all I need. Quote Link to comment Share on other sites More sharing options...
Guest budgetballer Posted June 18, 2007 Share Posted June 18, 2007 has anyone gotten the USPS to work. I installed the patch and still get the authorization error.... help???? Quote Link to comment Share on other sites More sharing options...
Guest Boniknik Posted June 19, 2007 Share Posted June 19, 2007 By the way, I have seen the fixes for the "Failed to add a package" error in the old revisions (like 3.0.8 or something) on the forums, like back in 2006, but I don't want to use those fixes now because of how many revisions there have been since then. If someone can figure out how those fixes would apply to this revision (I have 3.0.15 with the USPS fix posted in this topic), that is pretty much all I need. Hello, I was experiencing the same problem but I was able to fix it. I have opened a topic here http://www.cubecart.com/site/forums/index....showtopic=28196 with the instructions on how I fixed it. I basically just re-uploaded all the files that were overwritten by the mod that Al posted on this thread. I think the only problem was getting to pass the test when enabling USPS on the admin area, and the mod that Al have fix it, but after that you will need your old files that were overwritten by this mod so you will not have the "failed to add a package" error or "USPS ERROR: One of the following variables was empty. service = '', zip_origin = '93551', zip_dest = '37931', size = ''" I hope this works for you. :) Quote Link to comment Share on other sites More sharing options...
Guest Jump1979man Posted June 22, 2007 Share Posted June 22, 2007 Even after upload of this fix it still does not work for me either just like everyone else is saying. maybe its because the download is v2.....when it is supposed to be v3?? Quote Link to comment Share on other sites More sharing options...
Guest budgetballer Posted June 22, 2007 Share Posted June 22, 2007 That v2 patch and the fix that Boniknik posted does not work for me. The USPS module is one of a few main reasons I chose cubecart (and paid for the key) :ninja: Quote Link to comment Share on other sites More sharing options...
Guest midwestdedicated Posted June 23, 2007 Share Posted June 23, 2007 We're still dead in the water too for International orders too. Considering the on-line store that is using Cubecart sells a HUGE amount of product to South Korea, this is very problematic for them. Like I have said in earlier posts, I would PAY just about anything (within reason) to get this solved. Quote Link to comment Share on other sites More sharing options...
scythe000 Posted June 23, 2007 Share Posted June 23, 2007 So, what's the current status on this? I can ship ok domestically and internationally by weight, although my rates are screwed up. I would love to be able to ship priority or standard or whatever and actually get the right rates. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted June 25, 2007 Author Share Posted June 25, 2007 Right now we are so busy it is untrue due to v4beta. I will be my absolute best to get this done and dusted by Friday. I'm really sorry. I'd recommend using the By_Weight module until we can release a working fix. :D Quote Link to comment Share on other sites More sharing options...
Guest Posted June 25, 2007 Share Posted June 25, 2007 I understand how busy you must be with the beta of CC4. Since I usually ship out flat rate priority mail, I've set up Flat Rate Shipping in addition to UPS as an alternative. Quote Link to comment Share on other sites More sharing options...
Guest Jump1979man Posted June 26, 2007 Share Posted June 26, 2007 Thanks, a fix would be appreciated. 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.