Guest Posted February 7, 2003 Share Posted February 7, 2003 I've read previous threads and have really done my homework, can anyone please tell me why I can't get the USPS Module to work? I've got my USPS Webtools account. I have it set to test server and have changed the test server information in includes/shipping/usps.php It's not working. Any suggestions? Link to comment Share on other sites More sharing options...
rthrash Posted February 7, 2003 Share Posted February 7, 2003 I am experiencing the same thing, only neither the production server nor the testing server functions. Other than having an account and password for the web tools, are there other requirements to make the USPS shipping tools work? Ryan Thrash Link to comment Share on other sites More sharing options...
Guest Posted February 7, 2003 Share Posted February 7, 2003 Neither the test nor production work for me either. I wouldn't expect the production to work for me because I haven't had myself added yet. I can't figure out why the test won't work. :( Link to comment Share on other sites More sharing options...
Guest Posted February 7, 2003 Share Posted February 7, 2003 One of my customers is having the same problem. On the checkout page: An error occured with the USPS shipping calculations. If you prefer to use USPS as your shipping method, please contact the store owner. He entered the ID/PW given to him by USPS, put the module into 'production' mode but gets the error above. The usps.php file show this in the server connection part of the script: $request = 'API=IntlRate&XML=' . urlencode($request); } switch (MODULE_SHIPPING_USPS_SERVER) { case 'production': $usps_server = 'production.shippingapis.com'; $api_dll = 'shippingapi.dll'; break; case 'test': default: $usps_server = 'testing.shippingapis.com'; $api_dll = 'ShippingAPITest.dll'; break; } $body = ''; $http = new httpClient(); if ($http->Connect($usps_server, 80)) { $http->addHeader('Host', $usps_server); $http->addHeader('User-Agent', 'osCommerce'); $http->addHeader('Connection', 'Close'); if ($http->Get('/' . $api_dll . '?' . $request)) $body = $http->getBody(); $http->Disconnect(); The url sent by USPS at our request is http://production.shippingapis.com/shippingapi.dll and although I'm not a php programmer it looks right to me in the script. We have tried enabling..disabling..resetting the USPS module. The store has no mods and is based on the 01/14/03 snapshot. Link to comment Share on other sites More sharing options...
rcu Posted February 7, 2003 Share Posted February 7, 2003 I have the same exact problem...signed up at USPS. Entered username/password and enabled it and it won't work in test or production modes. Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2003 Share Posted February 8, 2003 Hi there, You have to fax or mail the .pdf form to USPS to activate the user / pw...took me forever to find out. USPS is very tight w/access to the systems..log on to the USPS site..on the column to the lft there is a PDS security/user manual..your supposed to read it and print the last page and sign it. Once they get it they activate your account/access..presto oscommerce works. Hope that helps :D Link to comment Share on other sites More sharing options...
solarman Posted February 8, 2003 Share Posted February 8, 2003 You have to call the 800 number in the email that they sent you and ask them to switch you over to the production server. Once you do that, everything works like clockwork... 8) Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2003 Share Posted February 8, 2003 But shouldn't it work with the test server without calling to be added to the production server? Thanks Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2003 Share Posted February 8, 2003 My customer says he has already talked with USPS and they switched him to the production server right off the bat... it's been a no go from the beginning. Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2003 Share Posted February 8, 2003 Are all of you using the USPS Methods contrib? If not, download it and use it! I wasn't able to get the default USPS module to work, so I downloaded the USPS Methods contrib. Once you have it downloaded and installed, contact the USPS 800 number (its on their website) and have them switch you to the Production Server. I was unable to get shipping to work with the TEST server, but as soon as I was switched to the Production Server, everything started to work. Hope this helps! -R Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2003 Share Posted February 8, 2003 UPDATE!!!! Based on a conversation with a very helpful OSCOmmerce member and this thread, I called the USPS and got added to their PRODUCTION SERVER. The test server never worked, the Production works perfectly. YOu need to have a USPS Web Tool Account. They will ask for your Username. Make sure you tell them that you are not printing lables and are only using the rating system. It worked immediately for me. www.uspswebtools.com (800) 344-7779 (7am - 11pm EST) Link to comment Share on other sites More sharing options...
rthrash Posted February 8, 2003 Share Posted February 8, 2003 Thanks for that last post. In about 5 minutes, I too was up and running. The best part is that they answered the phone and took care of it on the weekend! The testing server still doesn't work, but being added to the production server shure makes a difference! Ryan Thrash Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2003 Share Posted February 8, 2003 Yeah, I haven't met anyone who was lucky enough to see a working test server on the USPS. Glad you are up and running. Link to comment Share on other sites More sharing options...
Guest Posted February 15, 2003 Share Posted February 15, 2003 UPDATE: Even though my customer had spoke with USPS twice to make sure they had moved him to the production server he decided to call a third time and managed to get someone on the phone that knew which way was up and guess what... they had NOT moved him to the production server! All is well now. I setup a site for myself and signed up on the USPS API/Webtools page.. received my email with ID/PW and called them to move me to the production server, which they did, it started working immediately. Start to finish was less than 5 minutes. Just shows you what happens when you find someone at USPS that knows what they are doing. Link to comment Share on other sites More sharing options...
rthrash Posted February 15, 2003 Share Posted February 15, 2003 Out of curiosity, did you fax the licensing agreement and send an e-mail stating you had faxed the licensing agreement to the USPS? I wonder if that actually affects the way they have the accounts set up and if the phone calls "bypass" their regular procedure/flow, depeding who's on the other end of the line? Ryan Thrash Link to comment Share on other sites More sharing options...
Guest Posted February 15, 2003 Share Posted February 15, 2003 No.... I signed up, received the email, called USPS and was done. That's it, took all of 5 minutes start to finish. Link to comment Share on other sites More sharing options...
zzfritz Posted February 17, 2003 Share Posted February 17, 2003 I have revised USPS Methods as version 2.3, with the most current cvs functionality for separate handling fee, sort order and tax class: http://www.oscommerce.com/community/contributions,487 Link to comment Share on other sites More sharing options...
Guest Posted February 17, 2003 Share Posted February 17, 2003 I'll give it a whirl.. using a late January snapshot... was getting some errors related to general.php and was blowing authorize.net out as well so I ended up pulling it but sure would like to use it. Link to comment Share on other sites More sharing options...
Guest Posted February 17, 2003 Share Posted February 17, 2003 To clarify.. I was using your 2.2 but haven't tried 2.3 YET. Will try it tomorrow. Link to comment Share on other sites More sharing options...
Guest Posted February 18, 2003 Share Posted February 18, 2003 Seems to work ok now except for one thing. I can't specify no domestic shipping options... here's my issue. I only want to ship UPS in the lower 48 states. Anything outside of that I want to ship Global Express... Canada, .. UK...Germany..etc. If I choose Global Ex only and no domestic options then save.. it selects all of the Domestic options... I CAN choose just one domestic option ... but I really don't want any. I've tried messing with the Zones.. using US.. USA (I created tax zones accordingly) but apparently either it doesn't work or I am missing something. Anyone have some pointers? zzfritz.. is there anyway to to deselect ALL domestic options? Thanks, Link to comment Share on other sites More sharing options...
zzfritz Posted February 18, 2003 Share Posted February 18, 2003 Brad G -- that happens to be the only fault I also find with USPS Methods 2.2, and for the same reason (I want to offer USPS only for international shipments). As it happens, the portion of the code relevant to that feature (bug) is better known to the original contributor whose name happens also to be Brad (Waite). I have asked him to help us, and expect he will do so. Immediately thereafter, we will post the revision. Link to comment Share on other sites More sharing options...
Guest Posted February 18, 2003 Share Posted February 18, 2003 Sounds good, I will watch this thread accordingly. Thanks, Link to comment Share on other sites More sharing options...
Guest Posted February 18, 2003 Share Posted February 18, 2003 Also.. the Display Time isn't showing up even though it's selected. Link to comment Share on other sites More sharing options...
BradWaite Posted February 21, 2003 Share Posted February 21, 2003 Hi Boys and Girls, Fritz and I just posted USPS Methods 2.4 which includes the requested bug fixes. Let me know if there's any problems. Brad Waite W Cubed Link to comment Share on other sites More sharing options...
Guest Posted February 25, 2003 Share Posted February 25, 2003 Works as advertised.. thanks guys! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.