X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   X-Payments issues & questions (https://forum.x-cart.com/forumdisplay.php?f=50)
-   -   Order Declined Message: cart item amounts != order amount (https://forum.x-cart.com/showthread.php?t=66440)

AMMoyer 03-18-2013 07:51 AM

Order Declined Message: cart item amounts != order amount
 
After updating to 4.4.5 from 4.11 I am having problems charging a dropship fee to customers based on membership level. In 4.11 I had added statements in the func.cart.php that added a fee to the shipping calculation if the membership met certain criteria, but this doens't work with 4.4.5 using Xpayments. There is also a new field in the Orders table in the database that contains this dropship amount for each order. Each order record in the table is correct and the fields are all where they need to be.

I all appears to work fine, except that when you get back to the main site from XPayments, I get the following error.

Order declined.
Review your data or contact the store administrator.

Reason: Error: Transaction refused because of an invalid argument. See additional error messages for details. (The totals of the cart item amounts do not match order amounts.)

What two values are they comparing to double check the order total? Is this an issue with Xpayments?


All times are GMT -8. The time now is 09:23 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.