-
-
Notifications
You must be signed in to change notification settings - Fork 211
Add New Currency
By default, only USD, EUR and GBP currencies are available but you can add other currencies if you want.
Here is the list of all supported currencies: https://docs.stripe.com/currencies
To add a currency to the frontend, open frontend/src/config/env.config.ts and add the three-letter ISO 4217 alphabetic currency codes, e.g. "USD" or "EUR" and their symbols to CURRENCIES
constant.
That's it! Once added the new currencies will show up in the header menu of the frontend and the end user can switch between all available currencies.
To add a currency to the mobile app, open mobile/config/env.config.ts and add the three-letter ISO 4217 alphabetic currency codes, e.g. "USD" or "EUR" and their symbols to CURRENCIES
constant.
That's it! Once added the new currencies will show up in the header menu of the mobile app and the end user can switch between all available currencies.
From the admin dashboard, the base currency is used to store all prices. By default, it is USD but you can change it from VITE_BC_CURRENCY
setting in backend/.env, VITE_BC_BASE_CURRENCY
in frontend/.env and BC_BASE_CURRENCY
in mobile/.env.
Copyright © 2024 Akram El Assas. All rights reserved.