Closed Ddcdom closed 4 years ago
I've now tested my change and can confirm that they work as expected. Please can you accept my pull request?
Thank you for bringing this up. For your situation this modification might work (to always use the stores default currency). In a preferred setup, using various currencies with various Viva accounts, this mod will be a problem.
The order total passed to Viva for authorisation from the Magento 2.3 plugin is GrandTotal, not BaseGrandTotal. GrandTotal is the value in the store's display currency, not the store's base currency.
I've created pull request #1211 to fix this issue. Please note these changes are untested.