Change Currency - XiSZ/bookcars GitHub Wiki
To change the currency, follow these instructions:
Frontend
Open frontend/.env
and change VITE_BC_CURRENCY
and VITE_BC_STRIPE_CURRENCY_CODE
settings.
By default, it is set to:
VITE_BC_CURRENCY=$
VITE_BC_STRIPE_CURRENCY_CODE=USD
For example, if you want to change to euro:
VITE_BC_CURRENCY=€
VITE_BC_STRIPE_CURRENCY_CODE=EUR
On production, you need to rebuild the frontend to apply changes.
Backend
Open backend/.env
and change VITE_BC_CURRENCY
setting.
By default, it is set to:
VITE_BC_CURRENCY=$
On production, you need to rebuild the backend to apply changes.
Mobile App
Open mobile/.env
and change BC_CURRENCY
and BC_STRIPE_CURRENCY_CODE
settings.
By default, it is set to:
BC_CURRENCY=$
BC_STRIPE_CURRENCY_CODE=USD
For example, if you want to change to euro:
BC_CURRENCY=€
BC_STRIPE_CURRENCY_CODE=EUR
On production, you need to rebuild the mobile app to apply changes.