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

eCart - Transaction Not Completed

Thread began 7/11/2019 2:34 pm by lr_leal239405 | Last modified 7/17/2019 12:11 am by lr_leal239405 | 172 views | 8 replies


Ok, great. We have the right Paypal account now - took over the weekend to be approved by Paypal. So, we just get that error outlined above:

Item total is invalid.
Invalid Data

UPDATE: i checked out more on it and I think what is happening is that we were testing with a fictitious item that cost ($1 (I changed to 1penny)). and the shipping cost had a Promotion for Free Shipping (so UPS charge would come up as $16.66, but then I have the discounts to discount the cost of Shipping altogether). So, there was not enough to pay UPS. Thus we'd get the error. It will not happen on any items where there's enough charge to pay UPS of course, ( changed very last item to $20, and it worked because there was a positive amt. left of about $4.00)

so, I will need to change the code to skip UPS function altogehter if the there's a PROMO in the cart for the item(s).

If you can let me know where to do that, it will speed it up for me, otherwise I'm trying to figure that out.

I guess it's this piece in webassist code?

function WAEC_eCart1_UPSShipping() {
$totalShipping = 0;
if (true && (("UPS"=="UPS")&&(isset($_SESSION["eCart1_UPS_Quote"]))&&(floatval($_SESSION["eCart1_UPS_Quote"]) != 0))) {
$totalShipping += floatval($_SESSION["eCart1_UPS_Quote"]) + 0;//Result
return WA_eCart_FormatNumber($totalShipping, $this->ForceDecimalsC, $this->DecimalPlacesC);

As of now I have on the Discounts functions:

function WAEC_eCart1_FreeShipping() {
$totalDiscount = 0;
if (true && (($this->ConditionalTotal("Quantity", "ShippingType", "promo") >= 1))) {
$totalDiscount += floatval($_SESSION["eCart1_UPS_Quote"]) + floatVal("4");//Result
return WA_eCart_FormatNumber($totalDiscount, $this->ForceDecimalsC, $this->DecimalPlacesC);

(the $4 is our handling charge)

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





Ease of use


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