I have 3 coins on my my development box and my production box.
BTC, LTC, ARMS
All three coins are on Coingecko, which I am using to get the exchange rates of the coins. None of the rates seem to be updating the rates on either box. Even when pressing the “Clear/refresh data now!” button.
The code first identifies the enabled coin adapters, then it determines the CG ids for these coins, it determines the site’s default fiat symbol (usually USD), and finally queries the server for the price of these coins against the fiat symbol.
You can inspect what $url is constructed, what the $json response contains, and what is returned in the $rates array:
error_log( $url );
error_log( $json );
error_log( print_r( $rates, true ) );
Hope this helps. Please let me know if you find any issue with the code, or if you need any more help with debugging.