Fiat currencies support
BitcartCC supports automatic conversion from fiat currencies to payment method's currency upon invoice creation.
It is done via cached pre-fetched exchange rates, got from configured provider.
The default fiat currency used for prices is USD.
The default exchange rate provider is CoinGecko, as it provides a big list of fiat currencies to select from, as well as the historical rates, plus it is free of charge and has generous limits.
BitcartCC's default exchange rate is the same as Electrum's one.
All the exchange rate providers available in Electrum are also available in BitcartCC.
To change fiat currency used in your store, change it's default currency field:
Store default currency
You can override invoice default currency when creating it:
Currently, you can configure the exchange rate provider only via an environment variable passed to the daemon, and it is not accessible in the docker deployment. We want to improve that in the future.
COIN_FIAT_EXCHANGEvariable to the name of exchange you want to use, like so:
BTC_FIAT_EXCHANGE=CoinDesk python3 daemons/btc.py