close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

USPS random failures

Thread began 10/22/2013 9:07 pm by Matt | Last modified 10/23/2013 11:34 am by Matt | 611 views | 3 replies

Matt

USPS random failures

I am in need of some assistance regarding the USPS API.

I am getting an inconsistent checkout failure. It seems to fail arbitrarily. It will work for a few hours, then give errors for a few hours.

I have verified with USPS that my account is active on the production sever and my credentials are correct.

Here is the error:

array(86) { ["WA_Ecart_Coupon_ID"]=> NULL ["UserEmailVerified"]=> string(1) "0" ["UserEmail"]=> string(21) "test@titanpinball.com" ["WADbSearch1_Products_Category_Results"]=> string(21) " AND (CategoryID = 1)" ["orderAdd"]=> string(0) "" ["WAEC_ContinueRedirect"]=> string(33) "/products_detail.php?ProductID=30" ["WA_HTTPS_Redirect"]=> int(1382490417) ["eCartCheckoutForm_shipping_Country"]=> string(2) "US" ["eCartCheckoutForm_shipping_postcode"]=> string(5) "48420" ["eCartCheckoutForm_shipping_State"]=> string(2) "MI" ["eCartCheckoutForm_shipping_city"]=> string(4) "Clio" ["eCartCheckoutForm_shipping_street2"]=> string(0) "" ["eCartCheckoutForm_shipping_street1"]=> string(21) "1199 E Hollywood Blvd" ["eCartCheckoutForm_shipping_fax"]=> string(0) "" ["eCartCheckoutForm_shipping_phone"]=> string(14) "(555) 244-1852" ["eCartCheckoutForm_shipping_email"]=> string(21) "test@titanpinball.com" ["eCartCheckoutForm_shipping_lastname"]=> string(4) "user" ["eCartCheckoutForm_shipping_firstname"]=> string(4) "test" ["eCartCheckoutForm_country"]=> string(2) "US" ["eCartCheckoutForm_postcode"]=> string(5) "48420" ["eCartCheckoutForm_State"]=> string(2) "MI" ["eCartCheckoutForm_city"]=> string(4) "Clio" ["eCartCheckoutForm_street2"]=> string(0) "" ["eCartCheckoutForm_street1"]=> string(21) "1199 E Hollywood Blvd" ["eCartCheckoutForm_fax"]=> string(0) "" ["eCartCheckoutForm_phone"]=> string(14) "(555) 244-1852" ["eCartCheckoutForm_email"]=> string(21) "test@titanpinball.com" ["eCartCheckoutForm_lastname"]=> string(4) "user" ["eCartCheckoutForm_firstname"]=> string(4) "test" ["eCartCheckoutForm_cvv"]=> string(0) "" ["eCartCheckoutForm_exp_year"]=> string(0) "" ["eCartCheckoutForm_exp_month"]=> string(0) "" ["eCartCheckoutForm_cc_number"]=> string(0) "" ["WA_Store_Cart_USPS_Success"]=> bool(false) ["WA_Store_Cart_USPS_SuccessInt"]=> bool(false) ["WA_Store_Cart_USPS_ResponseCode"]=> int(0) ["WA_Store_Cart_USPS_Quote"]=> int(0) ["WA_Store_Cart_USPS_QuoteInt"]=> int(0) ["WA_Store_Cart_USPS_ErrorCode"]=> string(8) "80040b1a" ["WA_Store_Cart_USPS_ErrorDescription"]=> string(15) "UspsCom::DoAuth" ["WA_Store_Cart_USPS_FullRequest"]=> string(289) "API=RateV4&XML=ALL306774842002REGULARTrue" ["WA_Store_Cart_USPS_FullResponse"]=> string(179) " 80040b1a Authorization failure. You are not authorized to connect to this server. UspsCom::DoAuth " ["WA_Store_Cart_USPS_FullRequestInt"]=> bool(false) ["WA_Store_Cart_USPS_FullResponseInt"]=> string(0) "" ["CanInsertReturnPage"]=> string(32) "products_update.php?ProductID=28" ["products_update_ProductImage"]=> string(19) "default-product.png" ["products_update_ProductThumb"]=> string(18) "IMG_3291_thumb.jpg" ["products_update_ProductDigitalFile"]=> string(0) "" ["WA_UploadResult2_errorMessage"]=> string(16) "No file uploaded" ["WA_UploadResult1_errorMessage"]=> string(16) "No file uploaded" ["WA_UploadResult3_errorMessage"]=> string(16) "No file uploaded" ["PS_ActivationError"]=> string(0) "" ["WADbSearch1_Admin_Products_Results"]=> string(0) "" ["ps4_shippingoptions_ShippingID"]=> int(35) ["WA_Store_Cart_USPS_Quote_3"]=> float(28.3) ["WA_Store_Cart_USPS_Quote_2"]=> float(28.3) ["WA_Store_Cart_USPS_Quote_55"]=> float(39.95) ["WA_Store_Cart_USPS_Quote_56"]=> float(39.95) ["WA_Store_Cart_USPS_Quote_13"]=> float(19.95) ["WA_Store_Cart_USPS_Quote_27"]=> float(19.95) ["WA_Store_Cart_USPS_Quote_30"]=> float(19.95) ["WA_Store_Cart_USPS_Quote_31"]=> float(19.95) ["WA_Store_Cart_USPS_Quote_62"]=> float(19.95) ["WA_Store_Cart_USPS_Quote_63"]=> float(19.95) ["WA_Store_Cart_USPS_Quote_1"]=> float(5.85) ["WA_Store_Cart_USPS_Quote_22"]=> float(16.85) ["WA_Store_Cart_USPS_Quote_17"]=> float(12.35) ["WA_Store_Cart_USPS_Quote_28"]=> float(5.8) ["WA_Store_Cart_USPS_Quote_16"]=> float(5.6) ["WA_Store_Cart_USPS_Quote_44"]=> float(5.75) ["WA_Store_Cart_USPS_Quote_29"]=> float(5.95) ["WA_Store_Cart_USPS_Quote_38"]=> float(5.6) ["WA_Store_Cart_USPS_Quote_42"]=> float(5.6) ["WA_Store_Cart_USPS_Quote_40"]=> float(5.6) ["WA_Store_Cart_USPS_Quote_0"]=> int(0) ["WA_Store_Cart_USPS_Quote_4"]=> float(5.85) ["WA_Store_Cart_USPS_Quote_6"]=> float(2.53) ["WA_Store_Cart_USPS_Quote_7"]=> float(2.4) ["WA_Store_Cart_MultipleShipping_Rates"]=> array(4) { [1]=> array(4) { ["providerID"]=> string(1) "3" ["provider"]=> string(17) "US Postal Service" ["label"]=> string(14) "Media Shipping" ["quote"]=> float(2.53) } [3]=> array(4) { ["providerID"]=> string(1) "3" ["provider"]=> string(17) "US Postal Service" ["label"]=> string(17) "Priority Shipping" ["quote"]=> float(5.85) } [2]=> array(4) { ["providerID"]=> string(1) "3" ["provider"]=> string(17) "US Postal Service" ["label"]=> string(15) "Parcel Shipping" ["quote"]=> float(5.85) } [0]=> array(4) { ["providerID"]=> string(1) "3" ["provider"]=> string(17) "US Postal Service" ["label"]=> string(16) "Express Shipping" ["quote"]=> float(28.3) } } ["WA_Store_Cart_MultipleShipping_SelectedRate"]=> array(4) { ["providerID"]=> string(1) "3" ["provider"]=> string(17) "US Postal Service" ["label"]=> string(14) "Media Shipping" ["quote"]=> float(2.53) } ["WA_Store_Cart_TaxRate"]=> int(0) ["WA_Store_Cart_Items"]=> string(391) "30|WAECART| Frosted LED Bayonet Base (44/47)|WAECART|
Frosted LED wedge base (44/47).
|WAECART|0.004|WAECART|1|WAECART|0.39|WAECART|IMG_1151_thumb.jpg|WAECART|FroLEDBA9SBl|WAECART|Color: Blue|WAECART|0|WAECART|0|WAECART|0|WAECART||WAECART||WAECART|1|WAECART|0.004|WAECART|0.39|WAECART|1 Frosted LED Bayonet Base (44/47) (30)|WAECART|0|WAECART|0.39|WAECART|0|WAECART|0|WAECART|0.39" ["avd_options_for_condtional"]=> array(1) { [0]=> string(5) "White" } ["UserID"]=> string(1) "1" ["WAVT_confirm_Errors"]=> string(0) "" ["WAVT_usersProfile_Errors"]=> string(0) "" }


This was the response from USPS:
I am sorry, we are not currently experiencing any issues with the Web Tools server. The error that you are receiving does indicate that the permissions for the API you are trying to access are not currently added to your account. This is why it is vital for me to know which API your website is calling at the time the error is received. Please ask your 3rd parties' support team to identify and provide you the name of the API you site is calling at the time you receive this error. As soon as you reply to me with the name of the API you are calling when the error is received, I will be able to further assist you.


I really appreciate any help you could provide.

Thanks!

Matt

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...