I can see in includes/classes/order.php line 513 that the tax content of tax-included prices is calculated, however I cannot see that shown-price is changed to reflect tax-excluded price.
PHP Code:
if (DISPLAY_PRICE_WITH_TAX == 'true') {
// calculate the amount of tax "inc"luded in price (used if tax-in pricing is enabled)
$tax_add = $shown_price - ($shown_price / (($products_tax < 10) ? "1.0" . str_replace('.', '', $products_tax) : "1." . str_replace('.', '', $products_tax)));
} else {
I ask becaue PayPal reports an error that sub totals dont add up
Bookmarks