It appears that Google Finance Currency Converter has stopped working altogether. A week ago I started getting these email notifications from my Magento 1.9.2 store:
Currency update warnings:
WARNING: Cannot retrieve rate from https://finance.google.com/finance/converter?a=1&from=GBP&to=EUR.
WARNING: Cannot retrieve rate from https://finance.google.com/finance/converter?a=1&from=GBP&to=USD.
Those URLs are indeed no longer valid. Does anyone know if there are new URLs we can use, or do we need to configure a different service?
7
Answers
It seems to be intermittent (it shows if I load a page 10 times or so, but only once every 10 clicks). But I’ve personally started configuring other services. I am using bank API’s (currently a Swedish one so it might not help you). But check with your bank, they usually have APIs.
Good luck!
The problem is with the link, google updated the api link recently, and I found success once on checking 10 times to the existing link. Try changing to this link https://www.google.com/finance/converter
see this https://www.techbuy.in/google-finance-api-currency-converter-not-working-updated-link-check-currency-converter/
I was facing same problem from last week. But new url solved my problem and now currency conversion working fine.
try this:
https://finance.google.com/bctzjpnsun/converter
Apparently Google doesn’t offer this service anymore.
The main alternative looks to be:
Both offers 1000 request for free a month ( you need to create an account on their homepage )
Source: https://stackoverflow.com/a/8391430/716435
This link is not working anymore.
I researched and found this codes.
Find this file:
Replace the codes with this:
Google’s finance URL doesn’t seem to work for now, I have prepared a workaround to use MSN Money (Microsoft’s) API. It returns JSON so you can consume it using any programing language, I have put sample using PHP:
The above function accepts the currency that you currently have, the target currency and amount. Send’s a GET request to MSN URL and parses the JSON to get today’s exchange rate. Finally, it multiplies the rate with your amount to convert it to the target currency.
I hope this solves your need, the code has a lot of rooms for optimization I just gave you a simple implementation
For example, you can save the exchange rate in your database and use that rate for one day this way you will only call the API once a day.
Google doesn’t provide the currency converter API anymore. There are several alternative APIs offering currency conversion data. Some have been mentioned in posts already (Fixer, Currencylayer…)
Another option is SWOP currency exchange rate API, a fast, easy to use, reliable and transparent foreign exchange rate API made from developers for developers. Full disclaimer: I’m one of the developers of SWOP 🙂