Activating the feature
The feature has to be activated before it can be used. To activate it, open your merchant panel and go to Configuration -> Features. Click the Activate button next to the Multiple currencies feature. Based on the Post Affiliate Pro plan/license you own, you may need to buy it first. It's not automatically included in all licenses/plans. When it's activated you will have to refresh your merchant panel in your browser.
If you also want currency exchange rates to update automatically in Post Affiliate Pro you need to get a free API key from the currency update service here: https://free.currencyconverterapi.com/free-api-key
After you get your API key you have to click Configure button in the multiple currencies feature and set your API key there:
When the feature is active and set you will see a new check-box Support multiple currencies in your merchant panel Configuration -> Currency. Checking it will open a new part of the currency configuration window where you will be able to define additional currencies.
Adding and editing currencies
You can add another currency by clicking the Add currency button. This will add a new line to the multiple currencies grid. Then you can edit the cells in the grid and specify the details of the new currency. After that don't forget to click on Save modified rows button to save the currency changes that you made.
Currency columns description:
Currency code -> make sure you use official currency code as seen in this list.
Symbol -> this field represents currency symbol of your defined currency.
Precision -> in this field you can define how are the actual numeric values going to be rounded for this currency.
Where to display -> in this field you can define if the currency symbol is going to be displayed in front of or behind the actual numeric value.
Exchange rate -> is the most important setting of your custom defined currency, it represents the exchange rate that will be used to recalculate tracked values of sales made in this custom currency to the default system currency. As example, lets take the EUR custom currency defined in the screenshot above. Our EUR exchange rate is defined as 1.1166. It means that 1 EUR equals 1.1166 of the system default currency.(In our example USD is the default currency.)
Automatic exchange rate updater
If you are using official currency codes, you can use Automatic exchange rate updater function and our software will update currency exchange rates of your custom defined currencies automatically once per day. This function is based on 3rd party The Free Currency Converter API. By clicking on Update currency rates now button at the bottom of currency configuration page, you can update the exchange rates of all your custom defined currencies automatically at that moment. Don't forget to set your API key in configuration of feature "Multiple currencies". Here you can get your free API Key for Currency Converter.
Registering sales in different currency
Standard sale tracking code example:
This code will register a sale with total value of 120.50 USD because USD is set as default currency. If we want to tell the script that the currency of this sale is EUR, we need to add an additional function to this sale tracking code sale.setCurrency('EUR');
After adding it the final script to track the order with total value of 120.50 EUR will look like this: