deportu Posted March 26, 2006 Posted March 26, 2006 According to the USPS Shipping Module I need to register for their services. And I did. However, according to them they no longer use a password for you to be able to log on to use their services. This poses a small problem because as I try to set up the module to work, it requests a password. I leave it blank, assuming it should work, but it doesn't. The shipping module refuses to work correctly and I have no idea what the problem could be. Does anyone have any information regarding this? Is there a workaround? Any help is appreciated. Thank you.
Avec Posted March 26, 2006 Posted March 26, 2006 Leave the password blank. You need to set up to use the production server. The test server does not work for osCommerce stuff. No problems, because if you have it set up correctly, it works. One way to check is to add a notification email to help troubleshoot. in includes/modules/shipping/usps.php, around line 278 find if ($http->Get('/' . $api_dll . '?' . $request)) $body = $http->getBody(); After it add mail('[email protected]','USPS rate quote response',$body,'From: <[email protected]>'); fill in your email information and try it out. It should give you a good idea of were the problems are, particularly if you are sending and receiving information to the USPS computer. When you are done with the code, remove it or comment it out with //.
Guest Posted March 26, 2006 Posted March 26, 2006 Leave the password blank. You need to set up to use the production server. The test server does not work for osCommerce stuff. No problems, because if you have it set up correctly, it works. One way to check is to add a notification email to help troubleshoot. in includes/modules/shipping/usps.php, around line 278 find if ($http->Get('/' . $api_dll . '?' . $request)) $body = $http->getBody(); After it add mail('[email protected]','USPS rate quote response',$body,'From: <[email protected]>'); fill in your email information and try it out. It should give you a good idea of were the problems are, particularly if you are sending and receiving information to the USPS computer. When you are done with the code, remove it or comment it out with //. Also make sure you signup at the USPS webtools area, not just their main site.
dkalasz Posted March 27, 2006 Posted March 27, 2006 i'm haveing a problem to i am getting a not authorized to use in the one email and i added a second email to trap what is being transfered to the server in the $request variable It doesnt look correct to me but i may need some insite from somone familiar API=RateV2&XML=%3CRateV2Request+USERID%3D%************3%22+PASSWORD%3D%22%22%3E% 3CPackage+ID%3D%220%22%3E%3CService%3EExpress%3C%2FService%3E%3CZipOrigination%3E48180 %3C%2FZipOrigination%3E%3CZipDestination%3E48180%3C%2FZipDestination%3E%3CPounds%3E7%3C% 2FPounds%3E%3COunces%3E0%3C%2FOunces%3E%3CContainer%3E%3C%2FContainer%3E%3CSize%3ER EGULAR%3C%2FSize%3E%3CMachinable%3EFalse%3C%2FMachinable%3E%3C%2FPackage%3E%3CPackage +ID%3D%221%22%3E%3CService%3EExpress%3C%2FService%3E%3CZipOrigination%3E48180%3C%2FZip Origination%3E%3CZipDestination%3E48180%3C%2FZipDestination%3E%3CPounds%3E7%3C%2FPounds%3 E%3COunces%3E0%3C%2FOunces%3E%3CContainer%3EFlat+Rate+Envelope%3C%2FContainer%3E%3CSiz e%3EREGULAR%3C%2FSize%3E%3CMachinable%3EFalse%3C%2FMachinable%3E%3C%2FPackage%3E%3C %2FRateV2Request%3E%3CPackage+ID%3D%222%22%3E%3CService%3EFirst+Class%3C%2FService%3E %3CZipOrigination%3E48180%3C%2FZipOrigination%3E%3CZipDestination%3E48180%3C%2FZipDestination %3E%3CPounds%3E7%3C%2FPounds%3E%3COunces%3E0%3C%2FOunces%3E%3CContainer%3E%3C%2F Container%3E%3CSize%3EREGULAR%3C%2FSize%3E%3CMachinable%3EFalse%3C%2FMachinable%3E%3C %2FPackage%3E%3C%2FRateV2Request%3E%3CPackage+ID%3D%223%22%3E%3CService%3EPriority%3 C%2FService%3E%3CZipOrigination%3E48180%3C%2FZipOrigination%3E%3CZipDestination%3E48180%3C% 2FZipDestination%3E%3CPounds%3E7%3C%2FPounds%3E%3COunces%3E0%3C%2FOunces%3E%3CContainer %3E%3C%2FContainer%3E%3CSize%3EREGULAR%3C%2FSize%3E%3CMachinable%3EFalse%3C%2FMachina ble%3E%3C%2FPackage%3E%3CPackage+ID%3D%224%22%3E%3CService%3EPriority%3C%2FService%3E% 3CZipOrigination%3E48180%3C%2FZipOrigination%3E%3CZipDestination%3E48180%3C%2FZipDestination%3 E%3CPounds%3E7%3C%2FPounds%3E%3COunces%3E0%3C%2FOunces%3E%3CContainer%3EFlat+Rate+Bo x%3C%2FContainer%3E%3CSize%3EREGULAR%3C%2FSize%3E%3CMachinable%3EFalse%3C%2FMachinable% 3E%3C%2FPackage%3E%3C%2FRateV2Request%3E%3CPackage+ID%3D%225%22%3E%3CService%3EParcel %3C%2FService%3E%3CZipOrigination%3E48180%3C%2FZipOrigination%3E%3CZipDestination%3E48180%3C% 2FZipDestination%3E%3CPounds%3E7%3C%2FPounds%3E%3COunces%3E0%3C%2FOunces%3E%3CContainer %3E%3C%2FContainer%3E%3CSize%3EREGULAR%3C%2FSize%3E%3CMachinable%3EFalse%3C%2FMachinabl e%3E%3C%2FPackage%3E%3C%2FRateV2Request%3E%3CPackage+ID%3D%226%22%3E%3CService%3EBP M%3C%2FService%3E%3CZipOrigination%3E48180%3C%2FZipOrigination%3E%3CZipDestination%3E48180%3 C%2FZipDestination%3E%3CPounds%3E7%3C%2FPounds%3E%3COunces%3E0%3C%2FOunces%3E%3CConta iner%3E%3C%2FContainer%3E%3CSize%3EREGULAR%3C%2FSize%3E%3CMachinable%3EFalse%3C%2FMachin able%3E%3C%2FPackage%3E%3C%2FRateV2Request%3E%3CPackage+ID%3D%227%22%3E%3CService%3EL ibrary%3C%2FService%3E%3CZipOrigination%3E48180%3C%2FZipOrigination%3E%3CZipDestination%3E48180 %3C%2FZipDestination%3E%3CPounds%3E7%3C%2FPounds%3E%3COunces%3E0%3C%2FOunces%3E%3CCon tainer%3E%3C%2FContainer%3E%3CSize%3EREGULAR%3C%2FSize%3E%3CMachinable%3EFalse%3C%2FMachi nable%3E%3C%2FPackage%3E%3C%2FRateV2Request%3E%3CPackage+ID%3D%228%22%3E%3CService%3E Media%3C%2FService%3E%3CZipOrigination%3E48180%3C%2FZipOrigination%3E%3CZipDestination%3E48180% 3C%2FZipDestination%3E%3CPounds%3E7%3C%2FPounds%3E%3COunces%3E0%3C%2FOunces%3E%3CContain er%3E%3C%2FContainer%3E%3CSize%3EREGULAR%3C%2FSize%3E%3CMachinable%3EFalse%3C%2FMachinable %3E%3C%2FPackage%3E%3C%2FRateV2Request%3E The ******* at the top is where my usename was
deportu Posted March 28, 2006 Author Posted March 28, 2006 Apparently the error I am getting is this: <Error> <Number>80040b1a</Number> <Description>Authorization failure. You are not authorized to connect to this server.</Description> <Source>UspsCom::DoAuth</Source> </Error> What do I do now??
custodian Posted March 28, 2006 Posted March 28, 2006 Apparently the error I am getting is this: <Error> <Number>80040b1a</Number> <Description>Authorization failure. You are not authorized to connect to this server.</Description> <Source>UspsCom::DoAuth</Source> </Error> What do I do now?? Did you call USPS to activate yourself on the production servers? It won't work until you do this. My Contributions Henry Smith
deportu Posted March 28, 2006 Author Posted March 28, 2006 I was not aware of this. Where do I need to call, exactly? I can't find anything that points me in the right direction at the USPS site. (It's a bit of a mess, really. It's probably right in my face.)
deportu Posted March 28, 2006 Author Posted March 28, 2006 I'm having another problem, now with the test server... -2147219080 - Missing value for Country. The country is set up in the admin, the USPS server and even as the client I'm using. Everything seems to be in order. Not sure how to work with this one. I'll be asking at the number you just provided but I'd appreciate any help if you can give me any. Thank you.
custodian Posted March 29, 2006 Posted March 29, 2006 I'm having another problem, now with the test server... -2147219080 - Missing value for Country. The country is set up in the admin, the USPS server and even as the client I'm using. Everything seems to be in order. Not sure how to work with this one. I'll be asking at the number you just provided but I'd appreciate any help if you can give me any. Thank you. My test server never worked, and honestly you don't need it to. The USPS module has already been fully tested. Once you are switched over the production server, set the USPS module to production server and go into you store, add something to your cart, beging to check out and you'll immediately see if the shipping quotes are working... From there take the wieght of the item you have in your cart and go to USPS website and check the postal rate against what your store is telling you it is (just to confirm accuracy) My USPS has been dead on the nose with every purchase. It's great My Contributions Henry Smith
deportu Posted April 2, 2006 Author Posted April 2, 2006 I have a new problem... My store is located in Puerto Rico. Now this apparnently poses a problem for my USPS program... if my client's address is in Puerto Rico, the USPS module works. But if my client is in the U.S. the module gives me a "Missing value for country" error. I changed the location to United States in the admin panel and now only my U.S. clients have the USPS module work. Clients in Puerto Rico now get the "Missing value for country error" ... what am I supposed to do now?
wordx Posted April 5, 2006 Posted April 5, 2006 I don't seem to be able to turn OFF ALL Domestic Shipping Methods Express, Priority, First Class, Parcel. I uncheck them, but it won't let me turn all of them off. I just want to use international methods. Any clues?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.