Critical Bug Fix: XRP Payment Handling Issue Resolved

article illustration
#announcements

We want to announce that we have identified and resolved a critical bug in SHKeeper related to XRP payment processing. Here’s an overview of the issue and the fix:


The Issue

When accepting XRP payments, the fee-deposit account must be activated prior to processing transactions. If payments were received before the account activation, the system attempted to send crypto from one-time accounts to the fee-deposit account using the AccountDelete transaction.

However, the AccountDelete transaction can only be sent to an activated account. If attempted on an inactive account, the transaction would fail, deducting a fee of 2 XRP for each failed attempt. By default, SHKeeper retried this transaction every hour, leading to repeated failures and unnecessary fee deductions.


The Fix

With the latest update, SHKeeper now checks the activation status of the fee-deposit account before processing any transactions.

  1. If the Account is Inactive:
    • The system verifies whether the balance on the one-time account is sufficient to activate the fee-deposit account using a standard transaction, which can be processed by inactive accounts.
    • If sufficient funds are available, SHKeeper initiates the activation with a standard transaction.
  2. If Funds Are Insufficient:
    • No transactions are attempted from the one-time account until sufficient funds are received or the fee-deposit account is activated by other means.

Also, now in the SHKeeper’s admin panel, you can see the account’s fee-deposit address on the payout tab:

account's fee-deposit address

This update eliminates unnecessary fees and ensures smooth XRP payment processing.


Action Required

We strongly recommend that all users update SHKeeper immediately to apply this fix.

To update:

helm repo update  
helm upgrade -f values.yaml shkeeper vsys-host/shkeeper  

Verify Fee-Deposit Account Activation:

After receiving your XRP payment, please check that your fee-deposit account is activated. This step ensures seamless processing and prevents potential issues.

Step 1: In the SHKeeper admin panel, you can find the current address of the fee-deposit account (navigate to the “Payout” tab to find the address).

Step 2: Copy this address and enter it into the search field on https://xrpscan.com/.

Step 3: If the search returns a “404” error, the account is not activated. If the search displays account information, the account is activated.


Thank you for your understanding and support as we improve SHKeeper. If you encounter any issues or have questions about the update process, please don’t hesitate to contact our support team.

Best regards,
The SHKeeper Team