No currencies are currently enabled
-
Dear plugin developer
I swear to you that I have done all the instructions says but still finds the error message:”No currencies are currently enabled”
Infact, the only time i dont notice this error is when I use this shortcode
[wallets_deposit template=”list”]Every other shortcode throws that above error message.
Please advice ASAP
-
Hello David,
Please tell me the following:
1. Which instructions did you follow?
2. Which coin adapters did you enable?
3. Go to Wallets -> Adapters. Which adapters do you see?
4. In that same screen, what does the “status” column read for these adapters?
with regards
Here are your answers:
1. The instructions for the coinpayments integration
2. Coinpayments
3. Bitcoin on CoinPayments, Ether on CoinPayments, Waves on CoinPayments
4. For each of these adapters, the status reads “Responding” with a checked box in front, all in green.Please resolve this issue ASAP
Hello admin, I have the same error message
here are the error messages I got
Coin adapters currently enabled
Coin adapters currently enabled
your advise will be appreciated. Thank you
- This reply was modified 5 years, 5 months ago by 001chareal.
Thank you both @enochdavid and @001chareal for the additional info.
I am not certain why this issue is happening and I am not able to reproduce the problem on my end. You have correctly enabled some coins and this is reflected in the backend, but the frontend does not show the coins.
5. Please navigate to https://example.com/?__wallets_apiversion=3&__wallets_action=get_coins_info and show me what you see (first replace example.com with the actual domain of your site).
6. Are you using WordPress multisite?
7. It is likely that some server-side cache is misbehaving. If you’re using any type of caching mechanism, such as W3 Total Cache, WP Super Cache, memcached, etc, go to your cache plugin’s settings and clear the cache. Check again to see if the problem is resolved. Normally this shouldn’t happen, but it’s easy to check by clearing your cache.
8. The latest version of the CoinPayments adapter,
1.1.0
includes many changes that are very recent. I have already received reports from people who are using the latest version successfully. But you can check the previous version too,1.0.8
. If the previous version works, then please let me know.That’s all I can think of for now. Please check the above, and let me know. I will investigate further, and if I have anything else to add I will post here again.
with regards
Alex9. Adding to the above, it is also possible that a frontend JavaScript error is causing your issue. Please check your JavaScript console for any errors. The frontend relies on JavaScript to load and display the coins. If any code on your site causes execution to break, you would see the problem you report. Show me any errors you find.
The below is what I find when I visit your number 5 directive above:
“{“coins”:{“BTC”:{“symbol”:”BTC”,”name”:”Bitcoin”,”is_fiat”:false,”is_crypto”:true,”icon_url”:”https:\/\/kikicoin.pw\/wp-content\/uploads\/wallets-cp\/BTC.png”,”sprintf”:”BTC %01.8f”,”extra_desc”:”Destination address label (optional)”,”explorer_uri_address”:”https:\/\/blockchain.info\/address\/%s”,”explorer_uri_tx”:”https:\/\/blockchain.info\/tx\/%s”,”balance”:0,”available_balance”:0,”rate”:7812.71,”move_fee”:0,”move_fee_proportional”:0.001,”withdraw_fee”:0.0004,”withdraw_fee_proportional”:0,”min_withdraw”:0,”deposit_address”:”3FFVEQmrAbKpuQWCSVCSFasnar6z5a14Bb”},”ETH”:{“symbol”:”ETH”,”name”:”Ether”,”is_fiat”:false,”is_crypto”:true,”icon_url”:”https:\/\/kikicoin.pw\/wp-content\/uploads\/wallets-cp\/ETH.png”,”sprintf”:”ETH %01.8f”,”extra_desc”:”Destination address label (optional)”,”explorer_uri_address”:”https:\/\/ethplorer.io\/address\/%s”,”explorer_uri_tx”:”https:\/\/ethplorer.io\/tx\/%s”,”balance”:0,”available_balance”:0,”rate”:245.4,”move_fee”:0,”move_fee_proportional”:0.001,”withdraw_fee”:0.003,”withdraw_fee_proportional”:0,”min_withdraw”:0,”deposit_address”:”0xee137e9e836a0ef720daba906ac35da1fef39a92″},”WAVES”:{“symbol”:”WAVES”,”name”:”Waves”,”is_fiat”:false,”is_crypto”:true,”icon_url”:”https:\/\/kikicoin.pw\/wp-content\/uploads\/wallets-cp\/WAVES.png”,”sprintf”:”WAVES %01.8f”,”extra_desc”:”Destination address label (optional)”,”explorer_uri_address”:”https:\/\/chainz.cryptoid.info\/waves\/address.dws?%s.htm”,”explorer_uri_tx”:”https:\/\/chainz.cryptoid.info\/waves\/tx.dws?%s.htm”,”balance”:0,”available_balance”:0,”rate”:2.31,”move_fee”:0,”move_fee_proportional”:0.001,”withdraw_fee”:0.001,”withdraw_fee_proportional”:0,”min_withdraw”:0,”deposit_address”:”3PHfAyBDFGGW9JBiVwXA6JjenhPM7ts1ggX”}},”result”:”success”}”
In addition to your questions,
6. I am using a wordpress multisite
7. I use litespeed cache on my server and also cloudflareThis is what I got for the 5 above
{“result”:”error”,”code”:-106,”message”:”Must be logged in or specify a valid API key”}
@enochdavid I thought there might be a problem related to multisite or to your cache, but since the JSON API responds with the coins you have enabled, then it’s all good. Did you get a chance to check the JavaScript console for errors?
@001chareal The JSON API only works for logged in users. What do you see after you login with a user who has the
has_wallets
capability?Yes I logged in, but that’s what I got
@001chareal OK, in this case, after logging in, try clearing all of your server-side caches and see if it makes a difference. Please let me know.
Done, but all I see is this
{“coins”:[],”result”:”success”}
@dashedslug here is what I find via browser console error reporting(I hope I got that right and this helps)
”
Uncaught TypeError: Unable to process binding “style: function(){return {‘background-image’:’url(‘+ coins()[ selectedCoin()].icon_url +’)’} }”
Message: Cannot read property ‘icon_url’ of undefined
at style (eval at parseBindingsString (knockout-latest.js:69), <anonymous>:3:390)
at update (knockout-latest.js:99)
at N.K.l (knockout-latest.js:73)
at Function.$c (knockout-latest.js:52)
at Function.ad (knockout-latest.js:52)
at Function.da (knockout-latest.js:51)
at Object.N.u.N.K (knockout-latest.js:49)
at knockout-latest.js:73
at Object.D (knockout-latest.js:11)
at s (knockout-latest.js:72)
“Please what can I do to make it work, because I’m still seeing No currencies are currently enabled.
@001chareal After clearing the server-side cache, you access the
get_coins_info
call and see the result{“coins”:[],”result”:”success”}
. But you have coin adapters enabled. If the coin adapters are enabled and responding with no errors, they should definitely be in the coins info response. Perhaps worth trying to clear the browser cache too?@enochdavid OK this JS error is causing the result you see. In the upcoming patch I will try to fix this. This should be out today. Thank you!
- The topic ‘No currencies are currently enabled’ is closed to new replies.