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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Checkout failure

Thread began 2/27/2016 6:19 pm by MagsW | Last modified 2/29/2016 6:41 pm by Ray Borduin | 269 views | 4 replies |

MagsW

Checkout failure

Everything was working perfectly with my checkout process until this afternoon and I've no idea what I've done wrong! I did make some updates to the checkout page earlier on as I wanted to change the State field to an input rather that have the US States select list, however it wasn't working as I wanted it to so I restored the pages back to how they were before. The other change I made today was to add login functionality to the cart pages as per the tutorial.

This is from the session dump on the checkout_failure.php page:

8.9912Discount-310Sale" ["ECO_Auth_Result"]=> string(2557) "2016-02-27T23:12:13ZFailureWithWarning842cf3cd92b76Invalid DataThe value of Description parameter has been truncated.11812WarningTransaction refused because of an invalid argument. See additional error messages for details.The totals of the cart item amounts do not match order amounts.10413Error63.018316154" }

Any idea what might be causing it?

Update: Seems to be the length of the description being passed to Paypal that's causing the issue. It's sending the ProductShortDesc from the database which is usually longer than 127 characters, and it should be passing the ProductCartDesc instead. Not sure how to change this on the confirm.php and ppconfirm.php pages though?

Sign in to reply to this post

Ray BorduinWebAssist

The error is: "The totals of the cart item amounts do not match order amounts". It shouldn't have anything to do with the Description length.

If you view source on the page displaying the error it will give more information that I could use to figure out what is going on.

Sign in to reply to this post

MagsW

Yes, I do get that error as well, however I found that by shortening the ProductShortDesc text in the database I was able to connect to Paypal no problem. Details are in PM section.

Sign in to reply to this post

Ray BorduinWebAssist

It looks like an issue with how you have implemented the discount voucher.

On line 60 of confirm.php change "Price" to "TruePrice" and do the same on line 109 of pp_confirm.php.

Sign in to reply to this post

MagsW

And it works, thank you so much!

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