-
-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magento 1.x Quote vs Order tax rounding issue #389
Comments
Hi. I saw similar things when I used bundles and discounts, when I used Paypal with discounts, when I used points rewards extensions discounts in shopping cart. Looks like this is still a problem - in many cases - at least in 1.9.3.x |
It seems I am hitting this same thing |
Same to me. The issue is related to this method I guess:
roundPrice is widely applied
Maybe truncating could be a solution: public function roundPrice($price)
{
return intval($price * 100) / 100;
} |
This issue was reported 5 years ago and updated in 2019. What can we do with it? Create a PR if it confirms? |
Hi, we are seeing a Quote vs Order tax rounding issue (1.9.3.x) and though I'd report it here.
In short, when we apply discounts for the following order
we see that
$totals = $this->_getQuote()->getTotals();
$totals['grand_total']->getValue(); or $this->_getQuote()->getGrandTotal()
May be related to here
magento/magento2#446
Problem is that 1 API uses quote to start a process in our ios app. And later tries to link this back to the order. But this never succeeds, because there is a 1 cent difference
Was this issue adressed before? I read a lot about rounding issues but nothing specific to this case other then Kristoffs post above
The text was updated successfully, but these errors were encountered: