Skip to content

Add New Currency

Akram El Assas edited this page Dec 27, 2024 · 1 revision

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

Frontend

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.

Mobile App

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.

Base Currency

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_MI_CURRENCY setting in backend/.env, VITE_MI_BASE_CURRENCY in frontend/.env and MI_BASE_CURRENCY in mobile/.env.