Languages & Fiat Currencies

With Crossmint, you can customize the language and fiat currency that your customers will see. We will be adding more languages and currencies in the future, but we currently support English or Spanish, and USD or EUR.

🚧

SDK Version 0.2.6-alpha.3 or later is required

Be sure to use SDK version 0.2.6-alpha.3 or later to use these variables.

📘

No Action, No Problem

If no variables are set, the end-user's browser settings will be used (if they can be detected). In the case they aren't detected, English and USD will be used as default.

PaymentMethodVariableValuesDescription
Alllocaleen-US, es-ESLanguage in which the payment flow will be displayed
fiatcurrencyUSD, EUR, GBP, AUD, SGD, HKDCurrency in which the credit card payment flow will be displayed

Language Example

<CrossmintPayButton
  projectId="_YOUR_PROJECT_ID_"
  collectionId="_YOUR_COLLECTION_ID_"
  mintConfig={{
	 // your mint config args
  }}
  locale="es-ES" 
/>
<crossmint-pay-button 
  projectId="_YOUR_PROJECT_ID_"
  collectionId="_YOUR_COLLECTION_ID_"
  mintConfig='{
    // your mint config args          
  }'
  locale="es-ES" 
/>
395

Displaying the Continue button in Spanish.

Currency Example

<CrossmintPayButton
  projectId="_YOUR_PROJECT_ID_"
  collectionId="_YOUR_COLLECTION_ID_"
	currency="EUR" 
/>
<crossmint-pay-button
  projectId="_YOUR_PROJECT_ID_"
  collectionId="_YOUR_COLLECTION_ID_"
  currency="EUR" 
/>
394

Denoting prices in Euro.