close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

USPS Shipping Amount Incorrect

Thread began 1/17/2013 5:14 pm by michael378527 | Last modified 1/21/2013 1:14 pm by michael378527 | 947 views | 8 replies

michael378527

USPS Shipping Amount Incorrect

The shipping is calculated correctly for a quantity of 1 but for all other quantities the shipping amount is not even close. I have the weight stored in oz's in the database. How can I see what is being sent to USPS and what is being received back. USPS is not able to help without this information.

Except for this all features of the cart have been tested and are working. I have a few things I will need to submit a consultation ticket for which I will do once I have the shipping working.

Thanks,
Michael

I added the following to the confirm.php
<pre>
<?php var_dump($_SESSION);
?>
</pre>

and it shows that the quote from USPS is in fact correct as $4.57. The amount shown on confirm.php is $15.21 which includes the $1.50 per order charge. That means that the calculation done in ecart5.06 is not correct. Below is the dump information:

array(40) {
["HBShopping_Items"]=>
string(217) "1|WAECART|The Co-Creators Handbook|WAECART|The Co-Creators

Handbook|WAECART|handbookthumb.jpg|WAECART|29|WAECART|3|WAECART|22|WAECART|5|WAECART|19|WAECA

RT|3|WAECART|87|WAECART|66|WAECART|3 The Co-Creators Handbook (1)"
["WAEC_ContinueRedirect"]=>
string(36) "/shop/productdetails.php?ProductID=1"
<sensitive info removed>
["HBShopping_USPS_Success"]=>
bool(true)
["HBShopping_USPS_SuccessInt"]=>
bool(false)
["HBShopping_USPS_ResponseCode"]=>
int(1)
["HBShopping_USPS_Quote"]=>
float(13.71)
["HBShopping_USPS_QuoteInt"]=>
int(0)
["HBShopping_USPS_ErrorCode"]=>
int(0)
["HBShopping_USPS_ErrorDescription"]=>
string(0) ""
["HBShopping_USPS_FullRequest"]=>
string(291) "API=RateV4&XML=<RateV4Request USERID=""><Package

ID="1"><Service>MEDIA</Service><ZipOrigination>87715</ZipOrigination><ZipDestination>43358</Z

ipDestination><Pounds>5</Pounds><Ounces>7</Ounces><Container/><Size>REGULAR</Size><Machinable

>True</Machinable></Package></RateV4Request>"
["HBShopping_USPS_FullResponse"]=>
string(398) "<?xml version="1.0"?>
<RateV4Response><Package

ID="1"><ZipOrigination>87715</ZipOrigination><ZipDestination>43358</ZipDestination><Pounds>5<

/Pounds><Ounces>7</Ounces><Container>VARIABLE</Container><Size>REGULAR</Size><Zone>6</Zone><P

ostage CLASSID="6"><MailService>Media

Mail&amp;lt;sup&amp;gt;&amp;amp;reg;&amp;lt;/sup&amp;gt;</MailService><Rate>4.57</Rate></Post

age></Package></RateV4Response>
"
["HBShopping_USPS_FullRequestInt"]=>
bool(false)
["HBShopping_USPS_FullResponseInt"]=>
string(0) ""
}

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