Knowledgebase
Maestrel > Help Desk > Knowledgebase

Browse our knowledgebase...




 
Knowledgebase » Payments »

How to add a new currency to HBook supported currencies?

Answer

The currency is set in HBook > Payments. If your currency is not listed yet, please contact us so we can add it in the following update!

In the meantime, you can already add the currency for your project.

Step by Step to add your currency:

1. Check (for example on Wikipedia) the currency code and English name. Check as well if there is a currency symbol (for example: "€" for €). 

2. Open hbook/utils/currencies.php . The currencies are listed by alphabetical order of the currency code. 

3. At the beginning of the file, there is :

'XXX' => array(
'name' => ' XXX (XXX name)',
'symbol'=> 'HTML symbol'
),

4. Replace with your currency code, name and symbol for example:

'DZD' => array(
'name' => 'DZD (Algerian dinar)',
'symbol' => 'DA'
),

Themes Booking Plugin Pricing Blog Contact