Webservicex EUR to USD Conversion Error in Magento 1.9

currencymagento-1.9web services

On our site our base currency is Euro and we have two display currencies, US Dollars & Pound Sterling.enter image description here

Today, I noticed that the US Dollar rate was the same as the Euro rate, 1:1. This is obviously wrong, todays rate on xe.com is 1:1.06.

We're using Magento 1.9.2.2 and webservicex to update the currency each night at midnight.
enter image description here

Up until today it has worked fine, I can even see from yesterdays orders that it was giving the correct rates. Today it is off, any idea why?

I've checked the historic rates and it has not gone bellow 1:1.06 in a while, I tried getting the exchange rates directly from webservicex but I can't really figure it out. Interestingly the Euro/Sterling rate seems fine!

UPDATE

I found that if I manually update the rates and save them, once I try to import them from webservicex, the new rate is the same as the old rate, which I just manually updated, no matter what number I put in!

Best Answer

It's because of an error on webservicex website. Check this link: http://www.webservicex.net/CurrencyConvertor.asmx/ConversionRate?FromCurrency=EUR&ToCurrency=USD It shows "-1" as response, seems like an error code. Maybe Magento does not handles this value correctly (as an error)

Related Topic