Skip to content

Change Currency

Akram El Assas edited this page May 29, 2024 · 2 revisions

To change the currency, follow these instructions:

Frontend

Open frontend/.env and change VITE_MI_CURRENCY and VITE_MI_STRIPE_CURRENCY_CODE settings.

By default, it is set to:

VITE_MI_CURRENCY=$
VITE_MI_STRIPE_CURRENCY_CODE=USD

For example, if you want to change to euro:

VITE_MI_CURRENCY=€
VITE_MI_STRIPE_CURRENCY_CODE=EUR

On production, you need to rebuild the frontend to apply changes.

Backend

Open backend/.env and change VITE_MI_CURRENCY setting.

By default, it is set to:

VITE_MI_CURRENCY=$

On production, you need to rebuild the backend to apply changes.

Mobile App

Open mobile/.env and change MI_CURRENCY and MI_STRIPE_CURRENCY_CODE settings.

By default, it is set to:

MI_CURRENCY=$
MI_STRIPE_CURRENCY_CODE=USD

For example, if you want to change to euro:

MI_CURRENCY=€
MI_STRIPE_CURRENCY_CODE=EUR

On production, you need to rebuild the mobile app to apply changes.