Yahoo Finance has been abolished since the past few weeks. You rather need to use an extension from the marketplace or use the Github Master Files.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Straightlight,straightlight wrote: ↑Tue Dec 19, 2017 10:49 pmYahoo Finance has been abolished since the past few weeks. You rather need to use an extension from the marketplace or use the Github Master Files.
thanks for the answer.
Those currencies that are by default (EUR and GBP) are updated, but the added Ukraine Hryvnia (UAH) is not updated even on the Github Master Files (OpenCart Version 3.0.2.0).
Just now - the added Canadian Dollar (CAD) is updated, but Hryvnia is not.
Regards,
18s1fc
That's what happens when developers provides a solution with range of currencies when being captured. Some might be missing in the range as these being skipped to be converted on the next batch since the abolition of Yahoo Finance.
The best suggestion would be the use of a webservice that may provide all the lists of all currencies in one-time check day-per-day to resolve this issue compared to all the free solutions provided out there. Otherwise, there are no accurate solutions on how to definitely resolve this issue, unfortunately.
The best suggestion would be the use of a webservice that may provide all the lists of all currencies in one-time check day-per-day to resolve this issue compared to all the free solutions provided out there. Otherwise, there are no accurate solutions on how to definitely resolve this issue, unfortunately.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
hm...
www.ecb.europa.eu
Europe does not yet know Hryvnia...
https://www.ecb.europa.eu/stats/policy_ ... ex.en.html
Where is it written which file to edit to solve this problem with another webservice?
www.ecb.europa.eu
Europe does not yet know Hryvnia...
https://www.ecb.europa.eu/stats/policy_ ... ex.en.html
Where is it written which file to edit to solve this problem with another webservice?
It isn't, unfortunately, It has to be searched through Google in order to use a reliable service at this point.Where is it written which file to edit to solve this problem with another webservice?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I meant where I can read how to write my module for currency, which will do something (only on PHP) reminding it:straightlight wrote: ↑Thu Dec 21, 2017 5:06 amIt has to be searched through Google in order to use a reliable service at this point.
currency=uah
response=`xmllint --xpath "string(//div[@class='vk_gy vk_sh'])" https://www.google.com.ua/search?q=1+usd+to+$currency`
echo ${response/%\ */} # <- value of currency
27.7623542
Let for me a web service will search Google once a day.
( Instead XPath div[@class='vk_gy vk_sh'] can put it XPath html/body/div[6]/div[3]/div[10]/div[1]/div[2]/div/div[2]/div[2]/div/div/div/div[1]/div/div/g-card/div/div/div/div[2] )
Thanks,
18s1fc
But Google does not search multi-currencies with a single query but rather search for a single currency in the URL string.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
straightlight wrote: ↑Thu Dec 21, 2017 9:34 pmBut Google does not search multi-currencies with a single query but rather search for a single currency in the URL string.
Yes, yes
Typically, the site has 2, a maximum of 3 currencies. Therefore, temporarily one server can make 2-3 requests per day to Google, until Europe adds the Hryvnia.
Ok, thanks, Straightlight.
May the Force be with you! (c)
During the day, worldwide financially, with currency exchange changes, it can be changed to a maximum of 4 which means you'd still be missing one count everyday. Granted, 3 times is better than the 1 time only with the Yahoo Finance API we used to have unless manually refreshing the count from the Opencart admin. Although, the maximum changes of currency exchange is 4 throughout paid webservices.Typically, the site has 2, a maximum of 3 currencies.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 207 guests