Skip to content

Commit f8cf154

Browse files
committed
MAGETWO-57893: Orders processed via Paypal PAyflow Pro not receiving shipping/tax charges
1 parent 4989672 commit f8cf154

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Paypal/Model/Payflow/Transparent.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ public function authorize(InfoInterface $payment, $amount)
166166
$request->setData('trxtype', self::TRXTYPE_AUTH_ONLY);
167167
$request->setData('origid', $token);
168168
$request->setData('amt', $this->formatPrice($amount));
169+
$request->setData('taxamt', $this->formatPrice($order->getBaseTaxAmount()));
170+
$request->setData('freightamt', $this->formatPrice($order->getBaseShippingAmount()));
169171

170172
$response = $this->postRequest($request, $this->getConfig());
171173
$this->processErrors($response);

0 commit comments

Comments
 (0)