We’ve just released version 1.9 of our Multi Currency Store plugin for Woocommerce.
Why the jump from 1.2 all the way up to 1.9? Well, this version is a complete rewrite of the whole plugin from the ground up (something we’re doing for all of our plugins at the moment) in preparation for a bigger update (version 2), so it made sense to move the versions closer to 2.0 as a indication – mainly for us – so we know which plugins are ready for a bigger release.
Out with the old, in with the new
So, following on from our previous post about Yahoo discontinuing their finance API, this version removes Yahoo as a source for the plugin to get exchange rates from and replaces it with 4 other sources: ExchangeRate-API.com, Open Exchange Rates, Currency Layer and the European Central Bank.
With the exception of the ECB, you will need to sign up to an account with the others, however they all offer a free account we the option of upgrading should you need to get the exchange rates quicker or need more requests.
If you don’t want to use live exchange rates, you still have the option of setting the rates manually.
… and everything else
Rewriting the plugin and replacing Yahoo was a pretty big job in itself, but we did manage to fix a few little bugs that had been brought to our attention while we we’re neck deep in the code. The main one being a bug where the shipping rates would not be calculated correctly at checkout.
Although the update itself looks small on the surface, under the hood its a completely different plugin to what was there before! Rest assured that we have many more features planned that we will be rolling out once the dust has settled on this release and any bugs that do crop up as a result of this release has been fixed.
For a long time now, there have been various APIs that have been available from Yahoo that provide financial data and these APIs were being used by a large number of users, both individuals and companies.
Well it turns out that Yahoo have decided to discontinue this service without any warning. At first we thought it was just a simple change that they usually make (again with warning) but on closer inspection we’ve fouond that they’ve discontinued the service altogether. When querying the API now (with diagnostics set to true) you get the following message:
It has come to our attention that this service is being used in violation of the Yahoo Terms of Service. As such, the service is being discontinued. For all future markets and equities data research, please refer to finance.yahoo.com.
Not ideal at all!
This has obviously caused quite a few issues for a number of people/businesses that did rely on this information just like Woocommerce Multi Currency Store relied on it for its exchange rates.
So, we’re now looking into alternative sources for exchange rates. There are a few services out there that provide this information however some of them have limits on the amount of calls you can make to the service, or if your after live rates (or close to live rates) your going to have to pay for them as these services will not provide live rates for free.
At the moment its looking like we’ll be building these services into the plugin and leave it up to you to decide whether to pay that service for more calls or for live rates. Who knows, we might even build our own service 😉 But in the mean time, rest assured that we’re aware of the issue and we’re looking for a solution.
Hi there! We’re Code Ninjas!
This is just our little corner of the internet where we can put down information abut our work and products, random thoughts, tips and tricks or just general ramblings about life as a code ninja.
Feel free to get in touch about absolutely anything, even if it is just to say hi!
Hopefully, as soon as we get some time, we can make the site look a bit nicer but this will do in the mean time!