Skip to content

Commit 1e29f23

Browse files
dvdsndrcolinmollenhour
authored andcommitted
Missing hidden tax
will cause paypal to generate fraud error
1 parent 4bb045f commit 1e29f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/core/Mage/Paypal/Model/Hostedpro/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ protected function _getOrderData(Mage_Sales_Model_Order $order)
157157
{
158158
$request = array(
159159
'subtotal' => $this->_formatPrice($order->getBaseSubtotal()),
160-
'tax' => $this->_formatPrice($order->getBaseTaxAmount()),
160+
'tax' => $this->_formatPrice($order->getBaseTaxAmount() + $order->getHiddenTaxAmount() ),
161161
'shipping' => $this->_formatPrice($order->getBaseShippingAmount()),
162162
'invoice' => $order->getIncrementId(),
163163
'address_override' => 'true',

0 commit comments

Comments
 (0)