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

rating

USPS Shipping

Thread began 5/19/2010 10:05 am by jack372145 | Last modified 5/21/2010 8:14 pm by Jimmy Wu | 811 views | 5 replies |

jack372145

USPS Shipping

I am running Dreamweaver CS4 and eCart 5.0.1 on a Windows Vista machine. During the check out process everythings seems to be going fine until it trys to get a shipping rate from USPS. It then redirects me to the shipping_failure.php program with a message of "Shipping Quote Failed
We're sorry
UspsCom :: DoAuth "
Is there any way to troubleshoot and find out what is going wrong? I have attached in a zip file with the confirm.php, WA_eCart_USPS_PHP.php and screen shot of the eCart shipping values to show what is set up. Thanks for your help.

Attached Files
shiperror.zip
Sign in to reply to this post

Jimmy Wu

On your shipping fail page, add this to the body:
<?php
echo "<p>USPS: <br />";
echo "Full Request: ".(isset($_SESSION["saleCo_USPS_FullRequest"])?htmlentities($_SESSION["saleCo_USPS_FullRequest"]):"n/a")."<br />";
echo "Full Response: ".(isset($_SESSION["saleCo_USPS_FullResponse"])?htmlentities($_SESSION["saleCo_USPS_FullResponse"]):"n/a")."<br /></p>";
?>

Post back with what is shown on the page, but make sure to obscure any sensistive information like your shipping credentials.

Sign in to reply to this post

jack372145

USPS Shipping

I ran it with the code you gave me and this is what I got. Check the attachment. Thanks.

Sign in to reply to this post

Peterson Design Studio - jefferis

My Error on shipping:

No Packages to Ship

USPS:
Full Request: n/a
Full Response: n/a

But there are packages in the cart...
When I was setting up the Wizard and chose UPS shipping,
I put the shipping size in as the following code and perhaps that is a problem:
<?php echo $row_Recordset1['ItemLength']; ?> * <?php echo $row_Recordset1['ItemWidth']; ?> * <?php echo $row_Recordset1['ItemDepth]; ?>

I was trying to get total dimensions in inches because the packages are very large:
81x13x10 for example. Should I have done this with a total dimensions in inches instead?

Where do I go to edit this part of the shipping code? I can't find anything on any individual page that resets that? And I don't want to run the checkout wizard again...
Jeff

Sign in to reply to this post

jack372145

USPS Shipping

Any other Ideas? What do I try next?

Sign in to reply to this post

Jimmy Wu

Sorry, it looks like I got the capitalization on your eCart object incorrect when I sent you the code. Try this code instead:
<?php
echo "<p>USPS: <br />";
echo "Full Request: ".(isset($_SESSION["SaleCo_USPS_FullRequest"])?htmlentities($_SESSION["SaleCo_USPS_FullRequest"]):"n/a")."<br />";
echo "Full Response: ".(isset($_SESSION["SaleCo_USPS_FullResponse"])?htmlentities($_SESSION["SaleCo_USPS_FullResponse"]):"n/a")."<br /></p>";
?>

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