Handling WHMCS renewals when customers pay with crypto
With CoinStack, each WHMCS renewal is an invoice the client pays from the Pay Now button: WHMCS raises the invoice, 14 days before the Next Due Date by default, your reminder emails bring the client back, and the invoice is marked paid when the payment completes. Four settings decide how smoothly that runs: invoice lead time, reminders, suspension and cancellation days, and whether clients can pay ahead with account credit.
How do crypto renewals work in WHMCS?
WHMCS sorts payment modules by how they collect. Its developer documentation describes third-party gateways as those "Where a customer leaves the site to pay and returns when the payment process is complete." Card modules are the other kind: WHMCS keeps a token and, in the words of its Stripe Dynamic Payments page, "Automated recurring payments use stored tokens." A crypto payment is a transfer the holder sends, so there is no token to charge. The job is to make the invoice cycle smooth for customers who pay from their own wallets, and how recurring billing works in crypto covers the wider picture.
What happens to a crypto renewal invoice, step by step?
WHMCS's Automation Settings drive the whole cycle. Only invoice generation has a stated default, 14 days; you choose the other numbers. The schedule below is an example for a monthly plan, not a WHMCS default.
| Day | What WHMCS does | Setting |
|---|---|---|
| 14 days before due | Generates the renewal invoice and sends it | Invoice Generation (default 14) |
| 5 days before due | Sends an unpaid invoice reminder | Payment Reminder Emails, Invoice Unpaid Reminder |
| Due date | Payment is due | Next Due Date |
| 1, 3 and 6 days after | Sends up to 3 overdue reminders | Overdue Reminder (3 fields) |
| 7 days after | Suspends the service | Enable Suspension, Suspend Days |
| 30 days after | Terminates the service and removes it from the server | Enable Termination, Termination Days |
| Optional | Cancels the overdue invoice | Enable Auto Cancellation, Days Overdue |
One detail is specific to how the CoinStack module works. The invoice email does not open a checkout. The checkout is created when the client clicks Pay Now, and it stays open for 24 hours from that click. A renewal invoice sent 14 days early therefore starts no clock. If the client clicks again within the 24 hours and the balance has not changed, the module sends them back to the same checkout, with the same address.
How should you set reminders and suspension for crypto payers?
A crypto renewal is paid by the customer from their own wallet or exchange, so the settings should leave room for that.
- Keep Invoice Generation at 14 days or more. A customer who has to buy USDT on an exchange may need a day or two for the purchase and withdrawal.
- Send the Invoice Unpaid Reminder 3 to 7 days before the due date, while there is still time to pay without a rush.
- Use all 3 Overdue Reminders so the client gets repeated prompts to pay.
- Give a few days of grace in Suspend Days. Bitcoin adds a block about every 10 minutes on average, so a Bitcoin payment can sit at Payment Pending for a while, and a customer who pays on a Friday evening should not be suspended before the payment lands.
- If you use Auto Cancellation, set its Days Overdue well past Suspend Days. The next sections explain why a cancelled invoice is a problem for late crypto payers.
These settings apply to every client, card payers included, so test the schedule against both groups before saving.
The reminder wording matters as much as the timing. WHMCS sends the Invoice Created template, not the card template, to clients on a third-party gateway, so put the crypto instructions there and in your reminder templates. Something like this works:
Your renewal invoice is ready. To pay with crypto, sign in, open the invoice and click Pay Now, then choose your token and network. Send the exact amount shown. If you pay from an exchange, add its withdrawal fee so the full amount arrives. Please pay at least a day before the due date.
What does WHMCS do once the renewal invoice is paid?
When the checkout completes, the module records the payment on the invoice, with the checkout ID as the transaction ID and the CoinStack fee in the fees field, and WHMCS marks it Paid. From there WHMCS runs the same automation as for any gateway. Its billing logic page says payment "Increments the Next Due Date of the associated service or domain by one billing cycle", sends the payment confirmation email, and can "automatically unsuspend the service" if it was suspended for an overdue payment and Enable Unsuspension is on.
Two rules on that page catch hosts out with late payers:
- Paying late does not reset the cycle. The page says "paying the invoice will not change the client's renewal date, regardless of the date of payment." A client who pays the January invoice on January 20 is still due on February 1, and that invoice may already be out.
- With Continuous Invoice Generation on, WHMCS "creates invoices regardless of whether unpaid invoices exist for the service." A suspended client may then have 2 open invoices. Paying the newer one does not unsuspend the service: the page says "the system will not unsuspend the service unless the payment increments the Next Due Date forward." Tell suspended crypto clients to pay the oldest invoice first.
What if a customer pays late or after suspension?
Payment after suspension is the easy case. The invoice is still Unpaid, so the client clicks Pay Now, pays, and the service comes back if Enable Unsuspension is on.
A payment sent to an old checkout after its 24 hours is still recorded against it. If it covers the full amount, the checkout becomes completed with a late flag, and the module marks the invoice Paid as long as the invoice is still Unpaid or Payment Pending. A partial payment that arrives late is recorded on the invoice, and the client pays the balance from the invoice page. On Bitcoin and other non-stablecoins, a payment sent long after the price lock is counted at the price when it arrives, which accepting Bitcoin on WHMCS invoices explains with numbers.
One case needs a decision from you: a payment for an invoice that is no longer open. If Auto Cancellation has cancelled it, or a colleague marked it paid another way, the module does not record the payment. It writes a note to the Activity Log, under Configuration > System Logs, naming the checkout and the invoice, and adds a "Not recorded" entry to the Gateway Log. The money is not lost: it settled as USDC to your wallet when the payment completed. You then choose what to do by hand: reopen the invoice and add the payment, add the amount to the client's credit balance, or refund it from your wallet. The module will not open a checkout for a cancelled invoice either, so a client who still wants to pay needs a new invoice. WHMCS invoice paid on-chain but still Unpaid covers the other reasons an invoice can miss a payment.
Should crypto customers pay with account credit or on longer terms?
Both cut the number of times a customer has to remember to pay, and both use features WHMCS already has.
Account credit
WHMCS's credit balance feature lets a client click Add Funds in the client area, enter an amount, choose a payment method and pay through that gateway. The top-up is an invoice like any other, so the crypto module handles it with no extra setup. By default WHMCS applies available credit to new recurring invoices as they are generated, which you can turn off with Automatic Credit Use in General Settings. A client who adds $120 in USDT covers 12 monthly renewals of $10 without paying again.
There is one limit to know. With Require Active Order on, which WHMCS recommends, a client can add funds only once they have an active, approved order, so new clients pay their first invoice normally and top up after that. Ask clients to use Add Funds rather than overpaying an invoice, because the CoinStack module records only the invoice amount on an overpaid checkout: the extra settles to your wallet in full, and you add it to the client's credit by hand or return it. Letting WHMCS clients add funds with crypto covers the setup and limits in detail.
Longer billing terms
Offering annual or 6-monthly cycles to crypto payers turns 12 chances to miss a renewal into 1 or 2.
A client who prepaid a year and cancels in month 3 is owed money back, which you send from your own wallet on your own timing. Decide your refund rule for prepaid crypto terms before you advertise them.
Frequently asked questions
Can WHMCS renew a service automatically when the client pays in crypto?
Yes, through account credit. If the client has enough credit, WHMCS applies it to the renewal invoice when it is generated and the service renews without any action from the client. Otherwise each renewal is an invoice the client pays with Pay Now.
Does a late crypto payment move the client's renewal date?
No. WHMCS's billing logic page says paying an invoice "will not change the client's renewal date, regardless of the date of payment." The payment moves the Next Due Date forward by exactly one billing cycle from where it was. A client who pays 3 weeks late on a monthly plan may already have the next invoice waiting.
Will a crypto payment unsuspend a suspended service?
Yes, if Enable Unsuspension is on in Automation Settings and the service was suspended for an overdue payment. Once the checkout completes, the module records the payment, the invoice is marked Paid and WHMCS unsuspends the service. With Continuous Invoice Generation on, the client must pay the invoice that moves the Next Due Date forward, normally the oldest one.
What happens if a client pays an invoice that was already cancelled?
The module does not apply the payment to a cancelled invoice. It notes the checkout and invoice in the Activity Log and the Gateway Log. The USDC has already settled to your wallet, so you can reopen the invoice and add the payment by hand, credit the client's account, or send a refund from your wallet.
Can clients pay for several renewals at once in crypto?
Yes, through Add Funds. The client tops up their credit balance with one crypto payment, and WHMCS applies the credit to each new renewal invoice as it is generated, unless you have turned off Automatic Credit Use. The only condition is that the client already has at least one active, approved order.