New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Master] ECB bug currency rate? #12977
Comments
The calculations are different. Try. $this->model_localisation_currency->editValueByCode($result['code'], $currencies[$result['code']] / $value); |
With that line changed work. |
Well, the value shown on OC 3.0.x.x is the correct one, the one from the OC 4 master branch appears to be wrong. |
So is the correct one from the opencart-3 originally. |
MOST LIKELY SOME NE POSTED A COMMIT TO MESS THINGS UP |
VERSION 3 DOES NOT HAVE ECB |
It's sad to see that you seem to be a bit late in the news on this one since OC v3.0.x.x and opencart-3, both, have the ECB integrated already as you are the one who officially put the version number for it afterwards. |
versoin 3 stilll uses yahoo |
That's right, @danielkerr. Version 3 still uses Yahoo:
admin/controller/extension/currency/ecb.php |
3.0.3.9 uses Yahoo, the latter has been defunct for quite a while now. Hope this clarifies it. |
The above is not entirely true in regard to 'copied'. It is not a verbatim copy while I did took portion of the MB as well to achieve this on the opencart-3 repository. |
OK, thanks for the clarification. BTW.: I can't see the Extensions > Extensions > Currency Rates in the admin backend of opencart-3, there should be one pointing to available currency engines. |
if anyone wants to maybe move some of the fixes accross |
i need to do another update foor opayo |
Done. |
See also this issue: opencart/opencart-3#206 |
What version of OpenCart are you reporting this for?
Master branch
Describe the bug
I have refreshed ECB currency and EURO vs USD is:
0.84602094 | 1.00000000
On 3.0.x.x is
0.91979397 | 1.00000000
Both oc version has this URL in ecb
https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
The text was updated successfully, but these errors were encountered: