PrestaShop / docs

PrestaShop technical documentation
https://devdocs.prestashop-project.org/
Other
118 stars 468 forks source link

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

Open HartLarsson opened 3 years ago

HartLarsson commented 3 years ago

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

hibatallahAouadni commented 3 years ago

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!

matks commented 3 years ago

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 commented 3 years ago

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

Triloworld commented 1 year ago

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 :)