Problem/Motivation
On Checkout we need to make sure that the order total price is converted correctly to TRTL.
Proposed resolution
Add support and integration for https://www.drupal.org/project/commerce_currency_resolver.
Remaining tasks
Add a ExchangeRateEventSubscriber for currency conversion and updating current exchange rates
On Checkout, change the currency of the order to TRTL
User interface changes
Commerce TurtleCoin now includes a submodule Commerce TurtleCoin Currency on Checkout, which uses Commerce Currency Resolver to change the order currency on checkout to TRTL if a Turtle Payment Gateway is used.
This is done via an OrderProcessor, a PriceResolver and an OrderRefreshService.
You can enter the prices in Euro or Dollar, an Exchange rate service for Commerce Currency Resolver is included which uses the CryptoCompare API to calculate the TRTL price if necessary.
Comments
Comment #2
daveianoComment #4
daveiano