I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

Reply To: Moved: Withdrawals not working

#8819
alexg
Keymaster

Hello,

Ok this is a strange one indeed.

Normally withdrawals are entered into the DB when you click “withdraw”, and they are later executed by the cron job. In your case it seems that the withdrawal is not entered into the DB. (You mentioned that the withdrawal is not shown in the Admin transactions list screen).

The withdrawals lock should be shown unlocked (open padlock) in all cases, except if you have not entered the public or private key correctly. The public and private keys are two 64-character hex strings. The status of the coin adapter is “Responding”, so this means the keys must be correct. Therefore, the adapter’s withdrawals must be unlocked. I believe that your padlock is unlocked but looks locked due to your font and/or antialiasing. Hover the mouse over the padlock. Does it say “Withdrawals locked” or “Withdrawals unlocked”? It should say “Withdrawals unlocked”.

After entering a withdrawal and clicking the “Withdraw” button, the withdrawal request should show up in the transactions list, or there should be a meaningful error message. Instead, you got an empty message back in the popup window. I suspect that the JSON API withdrawal request could be cached, so disable all types of server-side caching before trying again.

If you get the same empty error message back, this could indicate another unexpected error. The only way to know is to enable debugging in your wp-config.php, retry a withdrawal, and look at the logs in wp-content/debug.log.

The most likely explanation is that maybe there was an SQL error while inserting the withdrawal row into the table. Have you exported/imported the DB from another host?

In any case, let me know what you find in the debug log. This is not a typical error, otherwise you would be seeing an error message.

In conclusion, please do this:

1. Check the withdrawal lock by hovering over the padlock with the mouse. What do you see?

2. Disable server-side caches.

3. Enable PHP logging in wp-config.php.

4. Retry a withdrawal.

5. Check the debug log. What do you see?

Let me know what you find.

with regards