My base currency is AED. But as per paypal supported currencies I cant pay in AED. So, I converted the currency to USD and changing the currency code to USD.
Now I can able to reach paypal with currency code as USD and converted currency. After competing payment I am being redirected to paypal/express/return/
Frmo returnAction
forwarded to Paypal\Model\Express\Checkout.php
but after executing the line $service->submitAll()
in the method place
i am getting error as below
PayPal gateway has rejected request. The transaction currency specified must be the same as previously specified (#10444: Transaction refused because of an invalid argument. See additional error messages for details).
Unable to understand whats happening $service->submitAll()