Help with Cart total / order sub total
Hi all, I am hoping someone can help me. I am running v1.3.9h, when I have a sale applied to the store because it is a percentage off the items are rounded in the displaying in the store and in cart but when then cart total and checkout subtotal is addeded up it adds up the un-rounded figures. This causes sometimes for the total to be a penny out and causes PayPal website payments standard to not create the order.
Can anyone point me to where the code is that calculates the cart total and subtotals in checkout so I can look to change so it adds up the rounded figures instead of the plain figures so it all matches up?
Or if anyone knows of a better way to resolve this? Perhaps change the way the sale is calculated?
Please don't say just use express checkout because I do not wish to use express. I am happy with WPS all apart from the I'd order that isn't going through because of this issue.
Many thanks.
Phil
Phil Rogers
A problem shared is a problem solved.