Commit 04092d9a authored by acampos1916's avatar acampos1916

Fetching currency code for payment methods call

parent 51ce62bf
...@@ -320,7 +320,7 @@ class PaymentMethods extends AbstractHelper ...@@ -320,7 +320,7 @@ class PaymentMethods extends AbstractHelper
$country, $country,
\Magento\Quote\Model\Quote $quote \Magento\Quote\Model\Quote $quote
) { ) {
$currencyCode = $this->chargedCurrency->getQuoteAmountCurrency($quote); $currencyCode = $this->chargedCurrency->getQuoteAmountCurrency($quote)->getCurrencyCode();
$paymentMethodRequest = [ $paymentMethodRequest = [
"channel" => "Web", "channel" => "Web",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment