Forum Replies Created
-
AuthorPosts
-
alexgKeymaster
@jzntech Hello, this is the most common problem people face at first when installing the CoinPayments adapter. Most likely some firewall is blocking your incoming IPN notifications.
1. Have you checked the troubleshooting section, under “Deposits come through to the CoinPayments platform but do not show up in the plugin.”?
2. Also, are you encountering this problem on a new installation, or did deposits work before?
Please let me know
with regards
alexgKeymasterHello Megan,
Thank you for your comment, I’m very glad you find the exchange helpful!
The last market price is part of the
get_market_summaries
public JSON API.If your site is http://www.example.com, you should be able to view it at https://www.example.com/?__wallets_exchange_action=get_market_summaries
The last price is in there.
kind regards
alexgKeymasterHello,
For RPC-based wallets, the wallet is re-scanned every 8 hours or so for all the incoming deposits. Please see here: https://github.com/dashed-slug/wallets/blob/3.7.2/includes/coin-adapter-rpc.php#L693-L746
Withdrawals cannot be loaded from the wallet because only the plugin knows the associations between withdrawals and users.
If you wish to trigger a re-scan of all deposits, you can delete manually the
wallets_listtxs_last_txid_XXX
transient, where XXX is the symbol for your coin. You should not need to do this normally.kind regards
alexgKeymasterYour deposit should be added to the hot wallet balance, but not to any of the user balances. Did your hot wallet balance not increase? The hot wallet balance is shown in the adapters list page.
alexgKeymasterGlad you resolved this!
alexgKeymasterI have same issue – user has deposited coins to its generated adress with us – transaction history shows the deposit on coinpayments – the coins are added to our main wallet ( can be showed in the cold storage (online wallet balance) – but the user newer receives it in their account.
I have wordfence installed and working smoothly – have installed a couple plugins that is not related to your plugin – ( i installed flamingo and contactform 7)
Please advise – wallet shows ZERO for user.
kind regards
alexgKeymasterHello Alex…
We followed you instructions – all is corrected – thank you.
kind regards
alexgKeymasterHello,
This is expected behavior. In the settings you specify how much each user will receive.
To revert an airdrop is easy. Every airdrop is assigned a unique tag. You can do this:
1. Backup your database.
2. Log on to your MySQL console (or phpmyadmin)
3. Find your transactions table. Normally it is
wp_wallets_txs
if you have the standardwp_
DB table prefix.4. Figure out a row that corresponds to your airdrop. It will be a recent row with
category='deposit'
and tags “airdrop” and something like “ad-5af46085d815d”. This is the unique id assigned to your airdrop.5. To delete the airdrop given as an example above, do this:
DELETE FROM wp_wallets_txs WHERE tags LIKE '%ad-5af46085d815d%';
That’s it.
alexgKeymasterWe also have noticed a error on coinpayments wallet that is connected to wallet on our wordpress main wallet.
The sufficient amount that has been paid out to 32 users in the airdrop – was sent from our tron wallet (desktop client) to our main account on website. Landed on our coinpayments account and credit to our tron wallet on coinpayments. However it never was sent to our “wordpress main wallet and showed on the main user there” ..
The airdrop was done – credited 32 users with 2000 tron to each user – instead of sharing 2000 tron between 32 users.
How can we correct this – ever user has now 2000 tron – instead of 32/2000 = 62.5 tron
How do we roll back – correct the users wallet.
How do we make sure the correct amount (2000 tron) is sent to our main WordPress wallet.Kind regards
alexgKeymasterTo correct –
We paid out to much to each user – instead of one amount to be shared by all users.
We have deactivated the specific wallet.
Can i change the airdrop – roll back , delete from database – withdraw from users account ?
Kind regards
alexgKeymasterThank you for sharing your code. This is indeed how you would use the exchange’s PHP API to pull the minimum bid and maximum ask prices for a market. You can also have access to the latest price exchanged with
$market_summary->last_price
.Once quick comment, you are checking for
if ($ask == " ") {
. This might work, but to be safe, I would writeif ( ! $ask ) {
. You are not interested in whether$ask
is empty but whether it is truthy or falsy. (See http://php.net/manual/en/language.types.boolean.php)kind regards
alexgKeymasterThank you very much for reporting your findings.
Yes, the role editor is useful only if you need to edit roles, otherwise the roles you have will remain as they are even without the plugin.
Glad to hear that you got it working!
regards
alexgKeymasterHello,
This would only happen if you have entered a different username/password in your coin adapter than in your wallet.
There are two ways you can set a username and password in a bitcoin-like wallet, these are
1.
rpcuser
andrpcpassword
, and
2.rpcauth
Make sure that you are using only one or the other type.
Then go to your adapter settings and check that you have entered the same values in the “user” and “password” fields.
Please let me know if you encounter more problems.
kind regards
AlexalexgKeymasterAs an admin, please see the instructions at https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/fiat-coin-adapter-extension/
As a user, you cannot perform fiat deposits by yourself.
kind regards
alexgKeymasterIn version
3.7.2
of the plugin, exchange rates are now shown with 4 decimals. -
AuthorPosts