Supported Currencies
The following currencies are supported in picu e-commerce:
- AED – United Arab Emirates dirham (د.إ)
- AUD – Australian dollar ($)
- BRL – Brazilian real (R$)
- CAD – Canadian dollar ($)
- CHF – Swiss franc (CHF)
- CNY – Chinese yuan (¥)
- CZK – Czech koruna (Kč)
- DKK – Danish krone (kr)
- EUR – Euro (€)
- GBP – Pound sterling (£)
- HKD – Hong Kong dollar ($)
- HUF – Hungarian forint (Ft)
- ILS – Israeli new shekel (₪)
- INR – Indian rupee (₹)
- JPY – Japanese yen (¥)
- KRW – South Korean won (₩)
- MXN – Mexican peso ($)
- NOK – Norwegian krone (kr)
- NZD – New Zealand dollar ($)
- PHP – Philippine peso (₱)
- PLN – Polish złoty (zł)
- SAR – Saudi riyal (ر.س)
- SEK – Swedish krona (kr)
- SGD – Singapore dollar ($)
- THB – Thai baht (฿)
- TRY – Turkish lira (₺)
- TWD – Taiwan dollar (NT$)
- USD – United States dollar ($)
- ZAR – South African rand (R)
Payment Provider Support
If you are using a payment provider, please make sure the provider supports the chosen currency as well. Always test using a test payment after you switched currencies or changed anything in the currency settings.
Extend Currencies
To add support for a currency not on this list, you can use the following filter. In this example, we would add support for Japanese yen (just as an example, JPY is already supported):
add_filter( 'picu_pro_currencies', function() {
'JPY' => [
'name' => __( 'Japanese yen', 'picu-pro' ), // Name of the currency
'symbol' => '¥', // Currency symbol (¥) as an HTML entity
'countries_using' => ['Japan'], // Optional: Countries that use this currency
'zero_decimal' => true // Optional: Currency does not support decimal digits after the comma
],
}
Code language: PHP (php)