
Originally Posted by
hubert
Hello,
I had an old version installed on ZC 1.5.0, as I'm in the process of upgrading to 1.5.4, I've installed the 2.5e version.
I didn't do any deep testing but as far as I've been I have a calculation problem.
My checkout confirmation page shows me :
$70.25 | Sub-Total:
-$2.30 | Value of Redeemed Reward Points:
$5.20 | FL TAX 7.0%:
$7.77 | Tip:
$4.00 | Delivery Area (Green Zone):
$84.92 | Total:
68 Reward Points earned:
Of course my subtotal is right, then why my taxes are 5.20 ?
Tax 70.25*0.07 = 4.9175
Let's imagine tax are on subtotal-points, i.e. 70.25-2.30=67.95
67.95*0.07=4.7565
Let's do that math the other way
5.20/0.07=74,285714286
I don't see any combination of 70.25+ ?? that gives me 74.28.
Points earned are ok since you get points on SubTotal-Points 70.25-2.30=67.95 rounded = 68.
Taxes should be calculated on the same amount, no ? so taxes should be (70,25-2,3)*0,07= 4.7565 and not 5.20.
If I try with delivery
(67,95+4)*0,07 = 5.0365
with tip
(67,95+7,77)*0,07 = 5.30
What I would line is point and taxes calculated on SubTot-RedeemedPoints cause there's no taxe on tips neither on delivery.
So my checkout should be
$70.25 | Sub-Total:
-$2.30 | Value of Redeemed Reward Points:
$4.76 | FL TAX 7.0%:
$7.77 | Tip:
$4.00 | Delivery Area (Green Zone):
$84.48 | Total:
68 Reward Points earned:
I'm lost.
Bookmarks