Title: ERROR: Cannot determine exchange rates
Last modified: August 21, 2016

---

# ERROR: Cannot determine exchange rates

 *  [BTCStore](https://wordpress.org/support/users/btcstore/)
 * (@btcstore)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-cannot-determine-exchange-rates/)
 * Bitcoin payment gateway is not operational: ERROR: Cannot determine exchange 
   rates! Make sure your PHP settings are configured properly and your server can(
   is allowed to) connect to external WEB services via PHP.
 * Any ideas how to correct this? running server 2012 fresh copy of apache and wordpress
   install. Is there a firewall rule I need to enable for the apache server? The
   server is running in a virtual box, do I need to forward port 80 to get the prices
   to work maybe? I can access the internet fine from the VM.
 * Any help much appreciated as I am out of options.
 * [https://wordpress.org/plugins/bitcoin-payments-for-woocommerce/](https://wordpress.org/plugins/bitcoin-payments-for-woocommerce/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [gesman](https://wordpress.org/support/users/gesman/)
 * (@gesman)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-cannot-determine-exchange-rates/#post-4834709)
 * Well, plugin tries to connect to an outside exchange rate APIs (there are 3 different
   services it tries until fails) – and apparently in your setup it fails.
    For 
   test – create a tiny PHP file:
 *     ```
       <?php echo file_get_contents ('http://api.bitcoincharts.com/v1/weighted_prices.json');
       ```
   
 * Upload it to your setup and try to access it via browser and see what happens.
   
   I suggest to get a realistic, linux-based hosting setup and retry.
 * If you need a working, cost-efficient, fast, secure hosting setup – let me know
   as I ran a hosting service off dedicated server and can accept payment in Bitcoins
   as well.
 * Gleb
 *  Thread Starter [BTCStore](https://wordpress.org/support/users/btcstore/)
 * (@btcstore)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-cannot-determine-exchange-rates/#post-4834743)
 * Gleb, I am interested in the hosting can you let me know price? message me details.
   I tried the code and it gives results, I am not sure what’s going on with it.{“
   USD”: {“7d”: “491.69”, “30d”: “464.34”, “24h”: “489.20”}, “IDR”: {“7d”: “5537863.92”,“
   30d”: “5473770.82”, “24h”: “5507165.88”}, “ILS”: {“7d”: “1719.78”, “30d”: “1689.39”,“
   24h”: “1705.80”}, “GBP”: {“7d”: “292.93”, “30d”: “293.84”, “24h”: “296.80”}, “
   DKK”: {“7d”: “2864.59”, “30d”: “2907.56”}, “CAD”: {“7d”: “546.68”, “30d”: “501.16”,“
   24h”: “543.63”}, “XRP”: {“7d”: “79617.44”, “30d”: “63340.07”, “24h”: “81922.86”},“
   SEK”: {“7d”: “3356.04”, “30d”: “3210.83”, “24h”: “3282.71”}, “SGD”: {“7d”: “635.53”,“
   30d”: “603.00”, “24h”: “632.00”}, “HKD”: {“7d”: “3857.03”, “30d”: “3719.72”, “
   24h”: “3804.55”}, “AUD”: {“7d”: “541.23”, “30d”: “518.35”, “24h”: “538.94”}, “
   CHF”: {“7d”: “465.82”, “30d”: “456.76”, “24h”: “474.40”}, “timestamp”: 1398395884,“
   KRW”: {“7d”: “538571.43”, “30d”: “572377.21”}, “CNY”: {“7d”: “3095.23”, “30d”:“
   2904.22”, “24h”: “3080.05”}, “SLL”: {“7d”: “124152.34”, “30d”: “119458.01”, “
   24h”: “123216.91”}, “NZD”: {“7d”: “578.04”, “30d”: “549.11”, “24h”: “577.23”},“
   THB”: {“7d”: “15071.09”, “30d”: “14421.35”, “24h”: “14900.00”}, “EUR”: {“7d”:“
   353.90”, “30d”: “344.05”, “24h”: “351.87”}, “LTC”: {“7d”: “39.57”, “30d”: “38.28”,“
   24h”: “39.52”}, “ARS”: {“7d”: “4813.36”, “30d”: “4867.68”, “24h”: “4803.10”},“
   NOK”: {“7d”: “2964.39”, “30d”: “2906.01”, “24h”: “2855.99”}, “RUB”: {“7d”: “17770.50”,“
   30d”: “17156.18”, “24h”: “17484.32”}, “INR”: {“7d”: “33208.48”, “30d”: “31055.23”,“
   24h”: “31691.86”}, “MXN”: {“7d”: “6830.14”, “30d”: “6582.32”, “24h”: “6856.64”},“
   CZK”: {“7d”: “9874.64”, “30d”: “9729.29”, “24h”: “9855.69”}, “BRL”: {“7d”: “1203.33”,“
   30d”: “1196.64”, “24h”: “1241.08”}, “NMC”: {“7d”: “190.56”, “30d”: “202.74”, “
   24h”: “194.11”}, “PLN”: {“7d”: “1488.90”, “30d”: “1441.46”, “24h”: “1491.56”},“
   ZAR”: {“7d”: “5582.95”, “30d”: “5744.23”, “24h”: “5902.20”}}
 *  Plugin Author [gesman](https://wordpress.org/support/users/gesman/)
 * (@gesman)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-cannot-determine-exchange-rates/#post-4834747)
 * Well, that sounds about right.
    Sincerely I’d still suggest to try from the real
   hosting space.
 * Or hire me to look into it personally if your current setup is dear to your heart.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-cannot-determine-exchange-rates/#post-4834748)
 * This topic has now been closed as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Offering_to_Pay)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘ERROR: Cannot determine exchange rates’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bitcoin-payments-for-woocommerce.
   svg)
 * [Bitcoin Payments for WooCommerce](https://wordpress.org/plugins/bitcoin-payments-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bitcoin-payments-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bitcoin-payments-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/bitcoin-payments-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bitcoin-payments-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bitcoin-payments-for-woocommerce/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/error-cannot-determine-exchange-rates/#post-4834748)
 * Status: not resolved