close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

USPS LArge dimenson error

Thread began 6/02/2012 10:42 am by steve204795 | Last modified 7/14/2013 11:27 pm by waterdropwebdesign439121 | 2728 views | 8 replies |

steve204795

USPS LArge dimenson error

I selected Large for the package size on Priority using the eCart USPS behavior ... I received the dimension error below:

-2147219426DomesticRatesV4;clsRateV4.ValidateDimension;RateEngineV4.ProcessRequestDimensions are missing for package; unable to calculate postage. Additional Info: All dimensions must be greater than 0.1000440

I added the 3 lines directly to the USPS page code for PackageLength - Width & Height but the error still is returned

page code:

if ($_SERVER["REQUEST_METHOD"] == "POST") {
//WA eCart (Copyright 2007, WebAssist)
//WA eCart USPS Shipping - USPS
$Shipping_SuccessURL = "";
$Shipping_FailureURL = "shipping_failure2.php";
$Shipping_Packaging = 1;
$Shipping_PackageArray = array();
$Shipping_PackageIndex = 0;
$Shipping_Counter = 0;
$Shipping_Parameters = array();
$Shipping_Parameters["UserID"] = "349AMERI5923";
$Shipping_Parameters["USPSServer"] = "http://production.shippingapis.com/ShippingAPI.dll";
$Shipping_Parameters["CarrierCode"] = "PRIORITY";
$Shipping_Parameters["DefaultIntl"] = "Express Mail International";
$Shipping_Parameters["ShipperZip"] = "07930";
$Shipping_Parameters["ShiptoZip"] = "".$_SESSION['eCartCheckoutForm_shipping_postcode'] ."";
$Shipping_Parameters["ShiptoCountry"] = "".$_SESSION['eCartCheckoutForm_shipping_country'] ."";
while (($Shipping_Packaging == 1 && !$eCart3->EOF()) || ($Shipping_Packaging == 0 && $Shipping_Counter == 0)) {
if (WA_eCart_USPS_IsTrueValue("true")) {
$Shipping_PackageArray[] = array();
$Shipping_PackageIndex = sizeof($Shipping_PackageArray)-1;
$Shipping_PackageArray[$Shipping_PackageIndex]["eCart_Quantity"] = (($Shipping_Packaging == 1)?$eCart3->DisplayInfo("Quantity"):1);
$Shipping_PackageArray[$Shipping_PackageIndex]["IsPackage"] = "true";
$Shipping_PackageArray[$Shipping_PackageIndex]["Quantity"] = "1";
$Shipping_PackageArray[$Shipping_PackageIndex]["WeightUnits"] = "lb";
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageWeight"] = "".WA_eCart_FormatNumber($eCart3->DisplayInfo('Weight'), true, 1) ."";
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageType"] = "RECTANGULAR";
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageSize"] = "LARGE";
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageLength"] = "".$eCart3->DisplayInfo("Length") ."";
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageWidth"] = "".$eCart3->DisplayInfo("Width") ."";
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageHeight"] = "".$eCart3->DisplayInfo("Height") ."";
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageMachinable"] = "true";
$Shipping_PackageArray[$Shipping_PackageIndex]["IPackageType"] = "Package";

Sign in to reply to this post

Jason ByrnesWebAssist

my guess is that you don't have a value in the length, width or height cart columns.


try changing this code:
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageLength"] = "".$eCart3->DisplayInfo("Length") ."";
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageWidth"] = "".$eCart3->DisplayInfo("Width") ."";
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageHeight"] = "".$eCart3->DisplayInfo("Height") ."";


to:
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageLength"] = "12";
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageWidth"] = "12";
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageHeight"] = "12";

Sign in to reply to this post

steve204795

dimensions

I checked that the values are in the db and also tried hard coding them to 12 as suggested .. it still indicates the dimensions are missing ... server response below...


API=RateV4&XML=PRIORITY0793046052713LARGETrue



-2147219426DomesticRatesV4;clsRateV4.ValidateDimension;RateEngineV4.ProcessRequestDimensions are missing for package; unable to calculate postage. Additional Info: All dimensions must be greater than 0.1000440

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

waterdropwebdesign439121

dimensions error

I'm having the same issue.

Then I added
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageLength"] = "12";
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageWidth"] = "12";
$Shipping_PackageArray[$Shipping_PackageIndex]["PackageHeight"] = "12";

to confirm.php

And still having same issue. Please see error message below.

Shipping Quote Failed
We're sorry

DomesticRatesV4;clsRateV4.ValidateDimension;RateEngineV4.ProcessRequest - Dimensions are missing for package; unable to calculate postage. Additional Info: All dimensions must be greater than 0.

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

waterdropwebdesign439121

Please see private message

Sign in to reply to this post

Jason ByrnesWebAssist

Originally Said By: waterdropwebdesign439121
  Please see private message  
Sign in to reply to this post

waterdropwebdesign439121

Please see private message

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