The Currency Exchange doesn’t work.

I got the Api Key from the Fixer’s website (https://fixer.io/) as explained on your website (https://forum.tagdiv.com/exchange-widget/).
If you click GET FREE API KEY (or SIGN UP FREE) on the Fixer site, you will be directed to the API LAYER (https://apilayer.com/) site, where you can obtain the API KEY.


But, for example, as described in the website below, you cannot log in to the Fixer’s own site.
https://wptravel.io/how-to-get-fixer-api-access-key/
I don’t know if that’s the cause, but it seems that the exchange element doesn’t work with API obtained from the API LAYER (https://apilayer.com/).
Could you please tell me how to display the Exchange Element correctly?
Thanks in advance for your help.
Amie
-
This topic was modified 3 years by
Amie.
Hi,
Please contact us via email at contact@tagdiv.com and provide the following:
âwp-admin URL and credentials
â a link to this topic to identify you
Also, during the update, know that we will disable the other non-tagDiv plugins.
Thank you!
Hello Guys
I have the exactly same situation here with the Exchange widget. Is there some resolution for this case? I am running my wp instance with newspaper 12 theme on my localhost.
Hello @newspulpaper,
Please make sure that the currency API works; if not, then please generate a new one.
Thank you!
Hi @Anamaria
As the post by the user @Luzi, i have the same scenario, the API Key doesn’t work on the newspaper theme, but work perfectly on the Live Demo from Fixer API ( https://apilayer.com/marketplace/fixer-api?live_demo=show )
Thanks
David
-
This reply was modified 3 years by
newspulpaper.
-
This reply was modified 3 years by
newspulpaper.
Hi @Anamaria,
With the last apikey the Exchange widget is working like a charm. What Do I need to do for it works with my API Key?
Tks
David
Hello there!
Same for me, unfortunately it’s still not working with my API key..
I am still using the API Key that the tagDiv sent me.
For your reference…
Amie
(https://blog.sumemiya.net/)
Hello,
Please go to this path td-composer/legacy/common/wp_booster/td_exchange.php and add this code -> https://i.imgur.com/4anEAqj.png // try using the new API
if ( $api_response['success'] === false ) {
$api_url = 'https://api.apilayer.com/exchangerates_data/latest?apikey=' . $exchange_data['api_key'];
$json_api_response = td_remote_http::get_page($api_url, __CLASS__);
$api_response = @json_decode($json_api_response, true);
}
Hope this help you!
Thank you!
Hello Anamaria!
Thank you for your help again!
Before adding the code you sent me,
I tried it again with my own API Key (which didn’t work before) and strangely enough, it works today!
I don’t know why, but for those of you who have the same problem, maybe it will work after a few days…??
Thank you for your kind advice as always!
Amie





