I am facing an issue with Magento1.9.2.4. My store is Incl. Of Tax, having 7% tax rate.
Here is the admin panel tax settings screen-shot:
When I am going to place order with shipping (Incl. of Tax 7%) and Products (Incl. of tax 7%) and coupon discount. The grand total amounts are not what they should be,Like: $p1 = $9.00 $p2 = $86.00 discount =$9.00 Shipping = $10.00
So, Subtotal after discount is : (9+86) - 9 = 86.00 on which the tax will calculate ((86*7)/107)= 5.6262 = 5.63
Shipping also has 7% tax:
((10*7)/107) = 0.6542 = 0.65
So the total tax is : 6.28 [to recheck via grand-total incl. of tax ((96*7)/107)]
and if I add the shipping
to Subtotal after discount = 86 + 10 = 96
but it is showing 95.99
which is completely wrong.
Here are cart page screen-shot:
And one more thing is, the same scenario will give different tax of paypal.
95-9+10=89.71
, but 7% of 89.71 is 6.28, which Magento calculated correctly. Your method of calculating tax is totally wrong (7% of 10 is 0.7, not 0.65). Your paypal screenshot has not only different pricing for your test products, but also a different tax rate (8.6%), which paypal may calculate based on billing or shipping address. I would make sure your indexers and cache is updated before testing checkout scenarios, especially if your changing product pricing.((96*7)/107) = 6.28034
and then96 - 6.28034 = 89.71963
. So that's where those numbers are coming from, and again another rounding error. However I noticed that if I try to add tax to your non-tax Product2:80.38*1.07
I get86.0066
, which should round up to86.01
.