Use the exchange rate provider

Once you have created your custom provider’s code, and configured the provider in the Backend, your provider is now available to use. To use it and get the rates for the currencies, perform the following:

  1. Log in to Sitefinity CMS backend.
  2. Go to Ecommerce » Configuration.
  3. From the Store Settings, select Currencies.

 

When you select the Use external service radio button your custom provider will be available in the drop down list. Clicking on the Get Rates button, will call your provider class’s GetExchangeRates method which returns a list of rates for the supported currencies (in this example “AUD”, “GBP” and “JPY”) for the default currency (e.g. “USD”).

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?