docs icon indicating copy to clipboard operation
docs copied to clipboard

Where comes the data from http://api.prestashop.com/xml/currencies.xml and how often is it updated?

Open HartLarsson opened this issue 3 years ago • 4 comments

Describe the bug

I've discovered that the exchange rate provided by prestashop api are not correct/the same as actual provided by European Central bank

Expected behavior

I expect the same exchange rate

Steps to Reproduce

just a question about EURO -> USD rates:

from prestashop api: http://api.prestashop.com/xml/currencies.xml

image

from ecb: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml

image

The rate are different. Can you explain where Prestashop gets the rates value? Is important to know the source.

Additional information

  • PrestaShop version: 1.7.6.7 / 1.7.7.2
  • PHP version: 7.2 / 7.3

HartLarsson avatar Mar 22 '21 17:03 HartLarsson

Hello @HartLarsson

I didn't manage to reproduce your issue with PS1.7.7.2, see the attached screenshot below:

image

Click on the Update button to update the exchanges rates :wink: Please check and feedback.

Thanks!

hibatallahAouadni avatar Mar 23 '21 08:03 hibatallahAouadni

Can you explain where Prestashop gets the rates value?

Searching for it

@hibatallahAouadni the rates are changed everyday, I am looking at how they are being gathered

matks avatar Mar 23 '21 09:03 matks

@HartLarsson I transfer this issue to docs as this is not a bug, it's a valid request for information :)

matks avatar Mar 23 '21 09:03 matks

Zrzut ekranu 2022-09-28 o 15 13 09

It isn't same. Screen capture today: 2022-09-28 in 15:13:09 Not generated today or different calculation that need some explanation :)

Triloworld avatar Sep 28 '22 13:09 Triloworld