Forum Replies Created
-
AuthorPosts
-
alexg
KeymasterIt is possible that you are encountering a problem that is discussed here.
The problem was that deposit fees incurred from the coinpayments platform were previously not accounted for towards user balances. Now that they are, the balances appear negative.
The problem will not occur again with new transactions, as the bug has been patched in the latest versions of the parent plugin and the coinpayments adapter.
My apologies for the trouble.
September 5, 2018 at 9:54 am in reply to: failed with status="500" and error="Block not found" #4287alexg
KeymasterNo, I have never encountered this particular type of problem.
If you let me know which wallet you are using perhaps I can look at it.
Also, have you added a
walletnotify
line into your conf file, as instructed by the plugin? This should be a curl command that directly notifies the plugin of incoming deposits. If this is not set, the plugin will need to rely on polling to discover incoming deposits.September 5, 2018 at 9:43 am in reply to: Negative Balance & Request for a 'Pending Balance' feature #4285alexg
KeymasterI have an explanation. It does not seem like this is an issue with the exchange.
In version
1.0.7
of the CoinPayments adapter, the deposit fees that the platform incurs are saved into the deposit transaction records. These fees are taken into account since the latest version3.6.4
of the parent plugin.3.6.4
was released on the 28th of August. On the 1st of September your user #7 did a withdrawal that was their balance plus the deposit fees (49 DOGE) that were not subtracted from their balance. If you had not applied the latest version3.6.4.
at that time, it would explain the problem. It would also mean that this will not happen again.My apologies for the trouble.
Is it possible that you had not yet applied version
3.6.4
of the parent plugin on the 1st of September?September 5, 2018 at 8:48 am in reply to: Negative Balance & Request for a 'Pending Balance' feature #4284alexg
KeymasterHey Alex, yes it is 1.0.7
September 5, 2018 at 8:36 am in reply to: Negative Balance & Request for a 'Pending Balance' feature #4283alexg
KeymasterThank you.
Are you using the latest version of the CoinPayments adapter? The latest version is
1.0.7
.September 5, 2018 at 8:33 am in reply to: Negative Balance & Request for a 'Pending Balance' feature #4278September 5, 2018 at 8:08 am in reply to: Negative Balance & Request for a 'Pending Balance' feature #4277alexg
KeymasterOK since this is such a serious error I would ask that you help me investigate. Please do the following:
1. Find out the numeric WordPress IDs for these two users. Let’s say the IDs are
111
and222
.2. Enter the following two queries into your SQL console and email me the result:
SELECT category,amount,fee,status,account FROM wp_wallets_txs WHERE account IN (111,222) and symbol='DOGE';
SELECT * FROM wp_wallets_orders WHERE account in (111,222) and quote_symbol='DOGE';
Please keep in mind that the exchange is still in beta.
Looking forward to your reply.
thank you
September 5, 2018 at 8:00 am in reply to: Negative Balance & Request for a 'Pending Balance' feature #4274alexg
Keymastersure. Here it is. So it seems like these 2 users traded DOGE & then have withdrawn them right after.
Attachments:
You must be logged in to view attached files.September 5, 2018 at 7:57 am in reply to: Negative Balance & Request for a 'Pending Balance' feature #4272alexg
KeymasterHello,
Thank you I will investigate.
It does not matter if the balance is displayed negative, the balance is checked again on the server side before any withdrawal. Additionally the tables are locked during each operation so that it is not possible to have race conditions.
Could you please post again the second attachment? It was deleted (my mistake)
thanks
September 5, 2018 at 7:52 am in reply to: Request to show latest traded price on the Markets Table. #4268alexg
KeymasterHi,
Yes this will be added to the table soon.
thank you
alexg
KeymasterYes, I have also thought about this.
Unfortunately there is no way I could ever find the time to make one.
The general idea is that others can begin to build things on top of the parent plugin.
The API is here: https://wallets-phpdoc.dashed-slug.net/classes/Dashed_Slug_Wallets_PHP_API.html
kind regards
September 5, 2018 at 7:46 am in reply to: Request for Coin Symbols to be placed on the Bid & Ask orders table #4266alexg
KeymasterHi, once done I will let you know on this thread.
September 5, 2018 at 7:43 am in reply to: failed with status="500" and error="Block not found" #4265alexg
KeymasterHi and thanks for reporting this.
I have tested the plugin with some PoS coins but not many.
For instance, it works just fine with Magi (XMG) while staking.
But each coin is different. It seems like your wallet reported a block id that it was not able to retrieve via the
getblock
RPC command. You could check if this is the case. I will change the plugin so it fails silently with only an error in the logs in this case. You should then be able to continue staking.kind regards
September 4, 2018 at 11:34 am in reply to: Request for Coin Symbols to be placed on the Bid & Ask orders table #4259alexg
KeymasterHi Alex, I hope you are having a great week.
Is there any updates on this? would love to see this implemented!
alexg
KeymasterThis can be controlled under Wallets -> Exchange -> JSON API -> Max operations per minute per user and Max requests per minute per user
-
AuthorPosts