close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

USPS Shipping Authorization Error

Thread begun 1/06/2012 1:53 pm by elewis93815 | Last modified 1/09/2012 8:54 am by Jason Byrnes | 1886 views | 5 replies |

elewis93815

USPS Shipping Authorization Error

Hello,

We have created a cart with shipping credentials from USPS. I believe I have entered all shipping api credentials correctly, however, I am getting an error when I try to enter the billing and shipping info and continue. I get a Shipping Quote Failure, We're Sorry UspsCom::DoAuth

I received this error on a previous project and resolved it, however, I am not seeing where the problem is coming in???

Any help or direction is greatly appreciated!

Jackie

Attached Files
WA AFG SHIPPING.zip
Sign in to reply to this post

Jason ByrnesWebAssist

add the following code to the shipping failure page so i can see the full request being sent and the full response returned by USPS:

php:
<?php

@session_start();
echo 
"<p>USPS: <br />"
echo 
"Full Request: ".(isset($_SESSION["afgcart_USPS_FullRequest"])?htmlentities($_SESSION["afgcart_USPS_FullRequest"]):"n/a")."<br />";  
echo 
"Full Response: ".(isset($_SESSION["afgcart_USPS_FullResponse"])?htmlentities($_SESSION["afgcart_USPS_FullResponse"]):"n/a")."<br /></p>";  
?>
Sign in to reply to this post

elewis93815

Hello Jason,

I have placed the code on to the shipping failure page. Please see attached files...

Thanks!
Jackie

Attached Files
WA AFG USPS Error.zip
Sign in to reply to this post

Jason ByrnesWebAssist

ok, so what is the result when you try checking out? what is the full request and full response being returned to the shipping failure page?

Sign in to reply to this post

elewis93815

Sorry about that...Here it is.....

Full Request: API=RateV3&XML=<RateV3Request USERID="395LMDIS5040"><Package ID="0"><Service>FIRST CLASS</Service><FirstClassMailType>PARCEL</FirstClassMailType><ZipOrigination>55420</ZipOrigination><ZipDestination>55416</ZipDestination><Pounds>0</Pounds><Ounces>8</Ounces><Size>REGULAR</Size></Package></RateV3Request>
Full Response: <Error> <Number>80040b1a</Number> <Description>Authorization failure. You are not authorized to connect to this server.</Description> <Source>UspsCom::DoAuth</Source> </Error>

Sign in to reply to this post

Jason ByrnesWebAssist

the error is saying that your account has not been authorized to connect to the usps shipping rate server, you will need to contact usps to have your account authorized.

Sign in to reply to this post

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...