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?