Forum Replies Created
-
AuthorPosts
-
megeanwasson
ParticipantHi Alex,
Apologies, this fix only worked for BTC withdrawal, some of the other coins now give a different error.If you are unsure why your transaction failed, please contact the administrator.
Coin symbol: OASIS
Last error message: Dashed_Slug_Wallets_Coin_Adapter_RPC->do_withdraw() failed to send with status=”500″ and error=”value is type str, expected real”
Transaction created at: 2019-02-05 18:52:21Regards
Mornemegeanwasson
ParticipantHi Alex,
The patch has worked, I was able to successfully withdraw BTC and it gave the correct decimals 🙂
Deposits decimals also look correct now with 8 places 🙂
Thank you yet again 🙂megeanwasson
ParticipantWould this also affect the deposits?
User ‘XXXXXXX’ deposited ‘194.258284550000013268800103105604648590087890625 OASIS’ with transaction ‘XXXXXXXXXXXXXXXXXXXXXXXXXXXXX’.
Also showing all those decimals on deposits.
I am busy loading your suggested patch and will be testing in the next few minutes 🙂
megeanwasson
ParticipantThanks Alex,
I will test and let you know asap 🙂megeanwasson
ParticipantHi Alex,
Great that does over-ride the price, now correct prices showing in exhange-rate and woocommerce product.You are a genius ::
megeanwasson
ParticipantI already tried forcing rates update after deleting on cli, made no diffs.
When it pulled in the rates those wrong ones were there again.megeanwasson
ParticipantForgot last image
megeanwasson
ParticipantAwesome 🙂
I have maybe found another small glitch with prices of one coin on the exchange rates shortcodes, not sure if it’s related, will open new thread shortly.
Regards
Meganmegeanwasson
ParticipantHi Alex,
Your patch seems to have worked.
I have now tested across all coin pairs and all the balances look to be calculating correctly now 🙂
If I do find any further issues with the balances I will revert back 🙂Regards
Meganmegeanwasson
ParticipantOk, I have tested all coins against BTC and available BTC balances calculated correctly 🙂
I will now go setup everything again and try trades across the coins to see if they also work and balance correclty.
Will let you know as soon as tested.megeanwasson
ParticipantHi Alex,
I will apply patch and see it it resolves the issue 🙂
I will feedback as soon as tested.
Regards
Meganmegeanwasson
ParticipantHi Alex,
All latest plugins.
I also thought maybe it was becuase i was cross trading coins with each other, but then changed to only have the coins against BTC but resulted same errors.Alt Coins Adapter: by Alex Georgiou – 0.1.0 Bitcoin and Altcoin Wallets: Exchange extension by dashed-slug – 0.6.0-beta Bitcoin and Altcoin Wallets: Full Node Multi Coin Adapter extension by dashed-slug – 1.0.5 Bitcoin and Altcoin Wallets: WooCommerce Cryptocurrency Payment Gateway by dashed-slug – 2.0.0 Bitcoin and Altcoin Wallets: by dashed-slug – 4.0.0
Let me know if you need anything else.
Just a note I also tried with all plugins disabled and on default wp template and still got the same issue.Regards
Meganmegeanwasson
ParticipantHi Alex,
No it does not show fiat amount when entering 10000000000On the API call it does show all the coins.
I did notice however it does show that Rapids is_crypto FALSE, same with DACASH shows is_crypto FALSE see screenshot, This then made me look at the wallets-alt-coins-adapter.php which has all the coins info in.$coins['RAPIDS'] = array( // Coin symbol 'symbol' => 'RPD', // Coin name 'name' => 'Rapidscoin', // Default withdrawal fee (coin adapter settings override this) 'wd fee' => '0.005', // Default internal transaction fee (coin adapter settings override this) 'move fee' => '0.0005', // Default min confirmation count required for deposits (coin adapter settings override this) 'confirms' => 12, // Default RPC port (coin adapter settings override this) 'port number' => 12345, // Whether the wallet supports -walletnotify 'tx notify' => 1, // Whether the wallet supports -blocknotify 'block notify' => 1, // Whether the wallet supports -alertnotify (some wallets have deprecated this) 'alert notify' => 0, // Comma separated list of hex bytes, needed for frontend validation of withdraw addresses. Leave blank for no validation. 'versions' => '0x61,0x61', // An sprintf() pattern for deposit address QR Code URI. If unsure, set to '%s'. 'qr pattern' => 'rapidscoin:%s', // An sprintf() pattern for displaying amounts. If unsure, leave to '%01.8f'. 'amount pattern' => '%01.8f', // Default sprintf() pattern for URI to block explorer transaction page. Can be overriden with WordPress filter. 'explorer tx uri' => 'http://209.97.188.183/tx/%s/', // Default sprintf() pattern for URI to block explorer address page. Can be overriden with WordPress filter. 'explorer address uri' => 'http://209.97.188.183/address/%s/', // URL to an 64x64 icon for the coin. Or leave empty to pull the icon from 'assets/sprites/SYMBOL.png'. );
I have now changed the coins name to the symbol name now all works fine 🙂
$coins['RAPIDS'] = array( <---- seems to be the problem
Thank you for helping me find this error.
Maybe on the explanation on using the altcoins plugin mention to users to name everything correctly 🙂
$coins['YOURCOINSYMBOLNAME'] = array( <-----
Hopefully this helps anyone else with the same problem.
Thank you again for your assistance to getting this resolved my end 🙂
Kind Regards
Meganmegeanwasson
ParticipantHi Alex,
Thank you as always for your quick response 🙂
I am not able to withdraw RPD amount as I do not have many coins, withdraw form just says insufficient funds.Result of
wp.wallets.viewModels.wallets.coins()['RPD'].rate
megeanwasson
ParticipantHi Alex,
Thanks, I have tried it in child theme css and also in customise override css, but some days it does not work for some weird reason, so I hard code it in for consistancy.
I will have a look at theme again maybe something in the theme is messing with it 🙂
Have a great rest of your week 🙂 -
AuthorPosts