PrestaShop/PrestaShop — pull request #373 by prom3theu5 (2013-04-06 20:41:28+00:00)
Title: Tax calculation in cart to actually work properly with the Paypal module when tax is enabled

Rewrote tax calculation slightly to accurately calculate tax per product in the cart - not per group of products.
For Example:
(round(product * (tax% + 1),2)* quantity);
not
(round(product * (tax% + 1) * quantity,2);

Mrotacon on Forums.