Problem
Automatic currency exchange rate updates in Directories → Currencies are not working as expected. When you click Update:
- in the Currencies section, the Last update column is either empty or shows an outdated date;
- current exchange rates fail to load.
This issue typically occurs when the external service that the platform uses to fetch exchange rates is:
- unavailable;
- changed;
- malfunctioning.
As a result, some payment methods may become unavailable to clients. The following error appears in the billmgr.log when a client attempts to make a payment:
Mar 22 09:15:35 [2279:10338] libmgr ERROR Error: Type: 'no_currency_rate'Diagnosis
To confirm the issue:
- Go to Directories → Currencies.
- Select a currency.
- Make sure Upload currencies automatically option is enabled for this currency. For more detail, see Localization and Currencies.
- Click Currencies.
- Check the Last update column. Expected result (issue confirmed): the column is either empty or shows an old date.
- Click Update → Оk.
- Check Last update column. Expected result (issue confirmed): the date has not changed to the current one.
Solution
Чтобы решить проблему, загрузите курс валют с альтернативного источника:
- Connect to the server with the platform via SSH. For more information about connecting via SSH, see Workstation setup.
- Open the configuration file /usr/local/mgr5/etc/billmgr.conf in a text editor.
-
Add a line to the file:
ExchangeRateCollectorURL https://exchange-rate.ispsystem.com - Save the changes and exit the editor.
- Go to Directories → Currencies and update the exchange rate again.
Useful tips
Related topics:
En
Es