Skip to content

Commit

Permalink
ENGCOM-4780: Fix the invalid currency error in credit card payment of…
Browse files Browse the repository at this point in the history
… PayPal Payflow Pro or Payments Pro #22399
  • Loading branch information
sivaschenko authored Apr 28, 2019
2 parents 1e1f690 + 5331471 commit 243aa8b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public function requestToken(Quote $quote)
$request->setTrxtype(Payflowpro::TRXTYPE_AUTH_ONLY);
$request->setVerbosity('HIGH');
$request->setAmt(0);
$request->setCurrency($quote->getBaseCurrencyCode());
$request->setCreatesecuretoken('Y');
$request->setSecuretokenid($this->mathRandom->getUniqueHash());
$request->setReturnurl($this->url->getUrl('paypal/transparent/response'));
Expand Down

0 comments on commit 243aa8b

Please sign in to comment.