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

daveiano created an issue. See original summary.

daveiano’s picture

Issue summary: View changes

  • daveiano committed b1dd0e0 on 8.x-1.x
    Fixes Issue #3046688: Integrate Commerce Currency Resolver
    
daveiano’s picture

Issue summary: View changes
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.