Currency is not being updated in 3.1.0 alpha
When click refresh currency button it shows "Success: You have modified currencies!" but exchange value always remain same.
I tried all free available fix in marketplace which are based on fixer.io , xe.com but non of them work anymore.
Same issue with OC 3.0.2
fixer.io fix was working with 3.0.2 but not anymore.
i tried to reinstall module but issue remains.
When click refresh currency button it shows "Success: You have modified currencies!" but exchange value always remain same.
I tried all free available fix in marketplace which are based on fixer.io , xe.com but non of them work anymore.
Same issue with OC 3.0.2
fixer.io fix was working with 3.0.2 but not anymore.
i tried to reinstall module but issue remains.
Any error / access logs you could post regarding those refresh?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
And the server access logs?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
OK, Found that fixer.io have new API but opencart 3.1 and module available in market place using old api.
I try it with new api but no luck.
Step 1: Your API Access Key
This is your Access Key, your personal password for the fixer API.
Keep it safe! You can reset it at any time in your Account Dashboard.
Step 2: API Endpoints
There are 5 main API Endpoints (listed below) through which you can access different kinds of data, all starting out with this Base URL:
http://data.fixer.io/api/
Simply attach your unique Access Key to one of the endpoints as a query parameter:
http://data.fixer.io/api/latest?access_ ... dfwr324434
Endpoint URLs
// "latest" endpoint - request the most recent exchange rate data
http://data.fixer.io/api/latest
? access_key = YOUR_ACCESS_KEY
& base = GBP
& symbols = USD,AUD,CAD,PLN,MXN
//click on the URL above to get the most recent exchange
// rates for USD, AUD, CAD, PLN and MXN
I try it with new api but no luck.
Step 1: Your API Access Key
This is your Access Key, your personal password for the fixer API.
Keep it safe! You can reset it at any time in your Account Dashboard.
Step 2: API Endpoints
There are 5 main API Endpoints (listed below) through which you can access different kinds of data, all starting out with this Base URL:
http://data.fixer.io/api/
Simply attach your unique Access Key to one of the endpoints as a query parameter:
http://data.fixer.io/api/latest?access_ ... dfwr324434
Endpoint URLs
// "latest" endpoint - request the most recent exchange rate data
http://data.fixer.io/api/latest
? access_key = YOUR_ACCESS_KEY
& base = GBP
& symbols = USD,AUD,CAD,PLN,MXN
//click on the URL above to get the most recent exchange
// rates for USD, AUD, CAD, PLN and MXN
In your admin - > systems - > settings - > edit settings, ensure to enable the currency fixer. Then, in admin/controller/extension/currency/fixer.php file,
find:
add below:
Retry the fixer. Then, check your OC error logs noticing a line beginning with: Currency Fixer Log . Do you see this line?
find:
Code: Select all
$response_info = json_decode($response, true);
Code: Select all
$this->log->write('Currency Fixer Log - ' . $response);
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
with new api changed api link to this: curl_setopt($curl, CURLOPT_URL, 'http://data.fixer.io/api/latest?access_ ... HERE&base=' . $default);straightlight wrote: ↑Wed Jul 11, 2018 7:37 pmIn your admin - > systems - > settings - > edit settings, ensure to enable the currency fixer. Then, in admin/controller/extension/currency/fixer.php file,
find:
add below:Code: Select all
$response_info = json_decode($response, true);
Retry the fixer. Then, check your OC error logs noticing a line beginning with: Currency Fixer Log . Do you see this line?Code: Select all
$this->log->write('Currency Fixer Log - ' . $response);
now error log shows 2018-07-11 16:17:01 - Currency Fixer Log - {"success":false,"error":{"code":105,"type":"base_currency_access_restricted"}}
Good to know. Thank you for sharing this information. I will address this change on GitHub.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Here is ocmod https://www.opencart.com/index.php?rout ... load_id=56
Which works perfectly.
It have update fixer.io and 3 other exchanger.
None of them totally free but openexchangerate.org have free plan with USD as base and 1000free api calls/month and also support all most all currencies.
fixer.io and other dont support all currencies.
Which works perfectly.
It have update fixer.io and 3 other exchanger.
None of them totally free but openexchangerate.org have free plan with USD as base and 1000free api calls/month and also support all most all currencies.
fixer.io and other dont support all currencies.
Who is online
Users browsing this forum: No registered users and 10 guests