Thank you for the new API option to auto-update the currency rates live. The sign-up process at currencylayer.com times out. Its not working. Also I am uneasy to share (required) credit card details for a free account. So, alternative, Is it possible to use an API service of my own choice as I have an account with freecurrencyapi.com, which I am happy to implement. If yes, how do I go about that?
Since nobody else have answered I’ll try to help you get started.
I do not use the currency part of Dolibarr, but I do use Dolibarr’s API and I have extended it myself as well as done other contributions to Dolibarr.
I would start here dolibarr/htdocs/multicurrency at develop · Dolibarr/dolibarr · GitHub and here dolibarr/htdocs/admin/multicurrency.php at develop · Dolibarr/dolibarr · GitHub
If I were to implement this I would probably aim for a drop down menu selecter that would select which external source to pull for currency rates.
Below that radio button select I would probably have the same 2 fields shared among all the possible currency providers
- API key
- source currency
I’d probably make the source currency a dropdown selection as well.
But there might be an advantage in saving the API separately for each provider.
Thank you so much for your reply. Since I am a very wet rookie, I will have to make time to figure out your proposed solution. I will revert when the opportunity presents itself