Skip to content

Commit

Permalink
MAGETWO-58162: PayPal Payflow Pro always using USD (even if this curr…
Browse files Browse the repository at this point in the history
…ency is absent on your store)
  • Loading branch information
rliukshyn committed Sep 9, 2016
1 parent af1c56d commit 337c63c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/code/Magento/Paypal/Model/Payflow/Transparent.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ public function authorize(InfoInterface $payment, $amount)
$request->setData('trxtype', self::TRXTYPE_AUTH_ONLY);
$request->setData('origid', $token);
$request->setData('amt', $this->formatPrice($amount));
$request->setData('currency', $order->getBaseCurrencyCode());

$response = $this->postRequest($request, $this->getConfig());
$this->processErrors($response);
Expand Down

0 comments on commit 337c63c

Please sign in to comment.