Skip to content

Commit 337c63c

Browse files
committed
MAGETWO-58162: PayPal Payflow Pro always using USD (even if this currency is absent on your store)
1 parent af1c56d commit 337c63c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ 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('currency', $order->getBaseCurrencyCode());
169170

170171
$response = $this->postRequest($request, $this->getConfig());
171172
$this->processErrors($response);

0 commit comments

Comments
 (0)