How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Change currency rate source

  • Duplika shared this idea 4 years ago
  • Payments/Billing
  • 10 Comments


WHMcs uses a currency rate source that is unable to convert automatically some currencies like ARS (Argentine peso).

I see similar requests for other currencies; I wonder if it's possible to manually point to another currency rate source, so these requests are solved.

I'm aware this was a problem on 7.6; maybe being able to select different sources would help avoid any kind of similar issue on the future.

11 Comments

Login to post a comment.

555
555
555
555
we need a convertion rate from Argentina
Whilst it is not possible for WHMCS to obtain the rates for ARS, using the hook https://developers.whmcs.com/hooks-reference/everything-else/#fetchcurrencyexchangerates, it is possible for you to obtain the exchange rate yourself and apply it to your WHMCS.
http://www.floatrates.com/daily/usd.xml
https://www.iban.com/exchange-rates-api
Hi! Copying the format seen on https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml, and using the data provided by https://www.floatrates.com/daily/usd.xml, I made this for anyone that uses USD as main currency:

https://inner.grupocloudspace.com/exchange_rates/usd.xml

So, if I where to have the possibility to replace the URL you are using with my own, I could automate the update of currencies I use that yours does not support (UYU, COP and, most importantly, ARS).
Hi there,
Thanks for the suggestion.
We've always used the ECB currency feed for exchange rates: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
Is there an alternative feed you'd like to use instead?
I would like to see UAH support as well as openexchangerates.org - they require account to use their APIs but they have free tier which allows 1k requests/month - it is enough to update currency rates each hour.

However it will require to enter App ID into WHMCS admin interface to be usable.