VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: ProRaceSupply on November 25, 2014, 22:03:19 PM

Title: Cart is incorrectly calculating totals. PLEASE help!
Post by: ProRaceSupply on November 25, 2014, 22:03:19 PM
***** Please help!  We are having to call each customer who submits an order and re-enter their cards manually!!!  *****

We just re-launched with VM 2.6.12.2 

The cart is incorrectly calculating the total.  See the image below.  It's a big deal because then the transaction is rejected from Paypal with the message:

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

Because the DISPLAYED total (in this case) is $597.20 but the ACTUAL total is $597.19.

Is this because of the 10% discount?  Is there any workaround?

(http://www.alconkits.com/images/paypal_error_cart_miscalc.jpg)
Title: Re: Cart is incorrectly calculating totals. PLEASE help!
Post by: GJC Web Design on November 26, 2014, 00:15:56 AM
Just to eliminate one unknown - have u tried with this 3rd party OPC disabled?

Have you tried experimenting the rounding settings in the VM admin?
Title: Re: Cart is incorrectly calculating totals. PLEASE help!
Post by: ProRaceSupply on November 26, 2014, 02:50:06 AM
Yes I have turned off OPC.  Same result.  Also changed rounding (though it would be helpful if there was ANY description on how that worked in the 'documentation'.  Tried everything from 4 to -4 and it makes no difference.

I did figure out that if I turn off the PayPal Payments Pro setting "Detail of all items will be sent to PayPal payment page" then Virtuemart didn't send the cart total to Paypal so I didn't get the "payment rejected" error and it ran the transaction through with the calculated total.    This is good because at least now we don't have to call customers and talk about how our software is stupid and we need their credit-card again.

I can't believe that this sort of thing is acceptable in this product.  I see 100 threads about it and not one reasonable solution from Virtuemart.  Just a discussion on how "impossible" it is to add 2+2 and get 4.  (or in my case adding 7+5 and getting 13 instead of 12.  I just hope no customer notices.  It's embarrassing and makes me regret upgrading from 1.19 which was stable to this, uh, rather unstable product.

I'll continue trying to hack this thing in our dev site I guess.  Dismayed to say the least.

Title: Re: Cart is incorrectly calculating totals. PLEASE help!
Post by: GJC Web Design on November 26, 2014, 10:19:40 AM
and the setting-> round only display?


[attachment cleanup by admin]
Title: Re: Cart is incorrectly calculating totals. PLEASE help!
Post by: jenkinhill on November 26, 2014, 11:05:25 AM
Quote from: ProRaceSupply on November 26, 2014, 02:50:06 AM
I see 100 threads about it and not one reasonable solution from Virtuemart.

I wonder where all these 100 threads are...  And who is "VirtueMart"?  VirtueMart is a community project.  Any far as I'm aware all rounding errors since at least a year ago have been due to user error or lack of understanding.