View Full Version : Check out Fail on USPS
dan377928
05-04-2009, 07:14 PM
Cant figure out why Iam getting this failure message
Shipping Quote Failed
We're sorry
UspsCom::DoAuth
Ray Borduin
05-05-2009, 03:22 PM
Have you looked at the USPS full response and full request? if you can't spot the problem that way, please post the full response and I can see. Usually there is more information about the error you can find.
dan377928
05-05-2009, 07:23 PM
WA eCart USPS Shipping Include File (Copyright 2007, WebAssist)
function WA_eCart_USPS_SetSessionDefaults($USPS_eCart) {
if (!session_id()) session_start();
$_SESSION[$USPS_eCart->CartName . "_USPS" . "_Success"] = false;
$_SESSION[$USPS_eCart->CartName . "_USPS" . "_ResponseCode"] = 0;
$_SESSION[$USPS_eCart->CartName . "_USPS" . "_Quote"] = 0;
$_SESSION[$USPS_eCart->CartName . "_USPS" . "_ErrorCode"] = 0;
$_SESSION[$USPS_eCart->CartName . "_USPS" . "_ErrorDescription"] = "No Packages to Ship";
$_SESSION[$USPS_eCart->CartName . "_USPS" . "_FullRequest"] = false;
$_SESSION[$USPS_eCart->CartName . "_USPS" . "_FullResponse"] = "";
Ray Borduin
05-06-2009, 09:02 AM
Right... but if on the fail page you write out the value of:
$_SESSION["[cartname]_USPS_FullResponse"]
then you can see what the error information from usps says
Justin Nemeth
05-06-2009, 12:31 PM
A DoAuth error indicates your USPS account information is incorrect. Make sure to use the user id USPS gave you on registration and also double check if you are using the testing or production server. By default you will have a testing account and would use the testing URL.
dan377928
05-06-2009, 05:08 PM
where on the failure page would i put
$_SESSION["[eCart1]_USPS_FullResponse"]
Changed to production.shippingapis.com
where is the USPS user name held in ecart,
Thanks for your help
dan377928
05-06-2009, 05:43 PM
Also saw that you have to register to use the API, which is not clear in the Checkout wizard
dan377928
05-06-2009, 06:23 PM
got the user name and Production server but still getting doauth error
dan377928
05-06-2009, 07:21 PM
got the checkout to work but no shipping charges were calculated
dan377928
05-07-2009, 05:43 AM
USPS production server will not allow access until you notify them your testing is complete.
Using testing server now and am getting this error
-2147219496Rate_Respond.DomesticRatesV2Test:clsRate sV2TestValidateParameters:clsRatesV2TestProcessReq uest;SOLServerRatesTest.RateV2_RespondShipper must supply own packaging. 1000440
dan377928
05-07-2009, 03:26 PM
Just when i get one problem figured out another crops up. After registering with the production server i now get an error about invalid shipper zip code.
any help would be appreciated.
dan377928
05-08-2009, 04:31 AM
All is working now. You have to change your USPS rate servers, Got this email response from USPS
Thank you for contacting USPS Internet customer support. You should be using Rate V3 since you are on the production server and not Rate V2. Rate V2 is only to be used when your account is on the test server.
rob_wilkins385013
09-20-2009, 11:11 AM
I'm getting the UspsCpm: Smileyface oAuth error as well. where do I go to find the complete description of the error?
the site I,m working on is http://www.dancingdogcookies.com
when I populate the shopping cart from the cookies menu, fill in shipping info and hit checkout, I get the error. I can't tell if the error is with my USPS connection, my item info in the database, scripting, or anything else.
thanks.
Justin Nemeth
09-21-2009, 10:23 AM
Assuming you are using the lastest eCart version, please verify you have a production USPS account. You need a production account to use their new API.
Take a look at your welcome email that USPS sent you when you first signed up. Just email their support with your info and they can upgrade your account to V3.
rob_wilkins385013
09-21-2009, 08:08 PM
I get a new error. not the auth(smileyface)one. just a simple "Shipping Quote Failed
We're sorry". so, any ideas please? here's the page that should go to the USPS, then to a paypal sandbox.... http://www.dancingdogcookies.com/checkout.php
. I'm getting close, I can feel it. thanks in advance for your help.
ok, I have Ecart v 4.5.0 . I contacted the USPS and they have upgraded the account to V3.
this is what they said...
"Thank you for contacting us. Congratulations on completing your testing using the U.S. Postal Service's Internet Shipping Application Program Interfaces (APIs).
Your profile has been updated to allow you access to the Production Server.
1. The Production Server URL is: http://production.shippingapis.com. For APIs calling the secure server, the URL is https://secure.shippingapis.com.
2. There is a line of code that refers to "shippingapitest.dll". You'll need to remove the word "test".
If you are using third party software and need assistance, please contact the vendor of the software. They should be able to assist you in obtaining live information using our APIs."
rob_wilkins385013
09-22-2009, 07:33 AM
I've noticed that my shopping cart is already adding $14.75 shipping before pressing the checkout button. Is it something wrong with the item listing in the database? here is the info I'm using... I'm still getting the "we're sorry" notice.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.