Organizational Research By

Surprising Reserch Topic

magento paypal tax rounding issue


magento paypal tax rounding issue  using -'magento,paypal,rounding'

I have some rounding issues with Paypal and Magento 1.7.0.2 - All prices on the site include tax and the tax is worked out at 20% (VAT).

I will go to checkout and everything is correct:



I will then click on place order, and Paypal will be like this, which is incorrect because the grand total is now 1p less. This appears to be cause by how the tax is rounded.



In some cases, it works ok, but in others the tax is rounded incorrectly. I have tried making changes to the tax calculation method calcTaxAmount() in app/code/core/Mage/Tax/Model/Calculation.php

I added this to the calcTaxAmount method which seemed to fix it, but it cause the prices on the product page to then be incorrect (1p less).

$amount = $this->roundUp($amount);

I'm pretty certain this is a bug, but I'm out of ideas. If anyone has come across this before and has a solution I'd be happy to hear it. Any help much appreciated.

EDIT: Here are my tax settings in Magento


    

asked Oct 11, 2015 by badhwar.rohit
0 votes
32 views



Related Hot Questions

5 Answers

0 votes
NULL
answered Oct 11, 2015 by girisha
0 votes
NULL
answered Oct 11, 2015 by nikhilapatil
0 votes
NULL
answered Oct 11, 2015 by jekbishnoi
0 votes
NULL
answered Oct 11, 2015 by deepak
0 votes
NULL
answered Oct 11, 2015 by shegokar.anjeet

...