View Full Version : USPS module that comes with OSC Max
DrLeadBasedPaint
07-22-2009, 02:57 PM
I really, really, really need help getting USPS shipping to work in OSC Max. It wouldn't work as installed, so I tried a couple other of these contributions listed here and I can't get anywhere. When a customer tries to check out, the cart returns:
United States Postal Service http://shop3.classifiedinfo.net/images/icons/shipping_usps.gif http://shop3.classifiedinfo.net/images/pixel_trans.gif http://shop3.classifiedinfo.net/images/pixel_trans.gif An error occured with the USPS shipping calculations.
If you prefer to use USPS as your shipping method, please contact the store owner.
So, I'm just baffled.... I've wasted a lot of time on this, so now I am re-installing OSCMax from scratch & I really need to know the best way to approach setting this up... with the built in module is best if it works.
Please reply. I saw that the other thread about this was closed with no responses at all.
michael_s
07-22-2009, 03:25 PM
Your server needs curl compiled into php or it will not work.
Old threads auto close if there is no activity after 12 months.
DrLeadBasedPaint
07-22-2009, 04:12 PM
Thanks for replying!!
OK.
How do I find out if I have curl compiled in php?
Also, is there a USPS module that does not use curl?
Finally, what all is usually involved in installing curl. I've never heard of it before.
Curiously enough, I do have USPS running on a straight up OS Commerce site on the same server.... I can't seem to replicated the success on this new one though!
Please help.
DrLeadBasedPaint
07-22-2009, 04:19 PM
I ran a php info and here's what it says:
CURL support enabled CURL Information libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 libidn/0.6.5
Is this going to do?
DrLeadBasedPaint
07-22-2009, 04:26 PM
I can't believe that no one else has this kind of problem!
I have completed my fresh install and I get the same:
United States Postal Service http://shop3.classifiedinfo.net/images/icons/shipping_usps.gif http://shop3.classifiedinfo.net/images/pixel_trans.gif http://shop3.classifiedinfo.net/images/pixel_trans.gif An error occured with the USPS shipping calculations.
If you prefer to use USPS as your shipping method, please contact the store owner.
DrLeadBasedPaint
07-22-2009, 04:28 PM
OOOOOooooooooo.... I just got an email.... it says
UPSXML TimeInTransit Error: 270014: Invalid Shipment Contents Currency experienced by customer with id 1 on 2009-07-22 20:25:03
DrLeadBasedPaint
07-22-2009, 04:32 PM
OK, that has nothing to do with the problem.... I left the USD out of the UPS XML (a module that actually works, by the way).
DrLeadBasedPaint
07-22-2009, 04:42 PM
... Yes, I do have my zip code in the shipping section of config....
DrLeadBasedPaint
07-22-2009, 04:48 PM
OK. I got it working. I had to request a new user ID and password from USPS. After activating it, the module now works!!
YIPPEEE!
michael_s
07-22-2009, 05:30 PM
It is always something... Glad you sorted out your issue. :)
jonnyvegasss
09-02-2009, 02:12 PM
Hello, I am having the same problem with osCMax v2.0.2
There was another thread from 2007
http://www.oscmax.com/forums/usps/9016-error-using-usps.html
about changing some lines in usps.php and the database. Is this fix already in this version of osCmax? or should I be looking into that approach?
Thanks in advance!
jonnyvegas:monkey:
bkpie
09-05-2009, 05:28 AM
what exactly is your problem..Are you trying to run on the test server? For USPS you have to be on the production server for it to work. I would assume that V2.02 would be up to date with the latest code and database entrys.
jonnyvegasss
09-10-2009, 04:16 PM
Ahh, well I did that, Called USPS and asked them to switch us to the Production Server and everything works just fine. thank you! Hopefully this will help others!
:cheers:
jonnyvegasss
MrE03
09-13-2009, 10:40 PM
i actually registered and got the email for the rate calculator but im still getting the error, am i supposed to email usps and tell them that im ready to start using their rate calculator api?
jonnyvegasss
09-15-2009, 11:14 AM
I called, there is a phone number on the email they sent you. Call it askt hem to switch you from the test server to the production server.
make sure you changed to the production server in your OSCMAX USPS shipping module and you should have no problem. For whatever reason the Test server doesn't work with OSCMAX.
Hope this helps
:rockband:
MrE03
09-15-2009, 11:54 AM
ok cool thanks, ill go ahead and give them a call
cse709
06-10-2010, 07:37 AM
USPS have activated my production account.
I cannot find a place within the oscMax module that needs to be changed. Is there more than one place to designate the server name? At line 509 (v2.0.15) I find this code:
//USPS PRODUCTION SERVER
$usps_server = 'production.shippingapis.com'; //'stg-production.shippingapis.com'; // or stg-secure.shippingapis.com //'production.shippingapis.com';
$api_dll = 'shippingapi.dll'; //'shippingapi.dll';
It already shows the proper USPS production server names. Is there a change here I should be making?
Powered by vBulletin® Version 4.2.0 Copyright © 2023 vBulletin Solutions, Inc. All rights reserved.