Guide
Crypto payments for web hosting companies
How hosting, VPS and domain sellers take USDT and Bitcoin on WHMCS invoices: the payment flow, monthly renewals, part payments in the Gateway Log and payouts.
· 7 min read
Web hosting is billed every month or every year, sold to clients in many countries, and often paid by people who already hold crypto: developers, agencies, game server owners, VPN and proxy users. Card declines and cross-border bank fees hit hosting companies harder than most. Crypto lets those clients pay the invoice in a few minutes from their own wallet or exchange account.
This guide is for the business side. It shows how crypto fits a hosting company's billing: how an invoice gets paid, what happens at renewal, how part payments are handled, and how the money reaches your wallet. For the step-by-step install, see Accept USDT and crypto in WHMCS.
Why hosting clients want to pay in crypto
- Global client base. A client in one country buys a server in another. Cards fail, and some regions have few card options at all.
- Small, regular amounts. A few dollars a month is exactly where card fees and failed renewals hurt. USDT on TRON or BNB Smart Chain keeps the client's network cost low.
- No chargebacks. A confirmed crypto payment can't be pulled back months later. That removes a common source of loss for VPS and dedicated server sellers.
- Stable prices. With USDT or USDC, a 12 USD plan is paid with about 12 coins. Bitcoin and other coins are converted at the live rate when the client pays.
How a crypto payment flows through WHMCS
The free AywaPay module for WHMCS adds AywaPay (crypto) as a payment gateway. You keep billing the way you do now; crypto is one more way to pay the same invoice.
- A client orders a plan, or WHMCS creates a renewal invoice on schedule.
- The client opens the invoice and presses Pay Now. The module creates an AywaPay invoice for the amount still due, in the WHMCS invoice's own currency.
- On the payment page the client picks a coin and network, sees the exact amount, an address and a QR code, and pays.
- When the payment is confirmed, a signed webhook tells WHMCS. The module checks the signature and that the price and currency match, then adds the payment to the invoice.
- The invoice turns Paid, and WHMCS does what it always does next: activates a new service, or renews or unsuspends an existing one.
The amount always comes from WHMCS, never from the browser. A repeated webhook is ignored, so an invoice is never paid twice. Download the module from the WHMCS integration page.
Monthly and yearly renewals
Nobody can charge a crypto wallet the way a saved card is charged: the client always sends the payment. So renewals follow the normal WHMCS cycle. WHMCS creates the renewal invoice, emails it, and the client pays it with Pay Now. Each renewal invoice gets its own AywaPay invoice, so your dashboard shows one payment per billing period.
- Send invoices early. Set WHMCS's invoice generation days so clients get the bill several days before the due date. Moving coins from an exchange can take a while.
- Keep reminders on. WHMCS's overdue reminders link straight to the invoice and its Pay Now button.
- Mind your suspension days. Give crypto payers the same grace period as everyone else. A paid invoice unsuspends the service by itself.
- Offer yearly billing. One larger payment a year means fewer transfers for the client, and it suits coins with a higher network cost, such as USDC on Ethereum.
Part payments go to the Gateway Log
Clients sometimes send a little less than asked, often because an exchange took its withdrawal fee out of the amount. The module marks a WHMCS invoice paid only when the full amount has arrived. Every other step is written to Billing → Gateway Log, so your billing team can see exactly what happened.
| What the client did | WHMCS invoice | In the Gateway Log |
|---|---|---|
| Paid in full, or more | Paid | The payment, with the AywaPay invoice id as the transaction id |
| Payment sent, still confirming | Unpaid | Waiting for confirmations |
| Sent part, time left | Unpaid | How much arrived and how much is still due; the client can send the rest on the same page |
| Sent part, time ran out | Unpaid | The part that arrived, which is already in your AywaPay balance |
| Paid nothing in time | Unpaid | Expired; Pay Now again makes a new invoice |
Money that arrived is never lost: every confirmed payment is credited to your AywaPay balance, even when it is short or late. You can then ask the client to pay the difference, add a credit by hand in WHMCS, or refund from your dashboard. Any extra from an overpayment also stays in your balance.
Set Accept underpayment up to (%) on your AywaPay store so that a payment short by a small share still counts as paid. It saves your support team many small tickets.
Clients and deals outside WHMCS
Not every sale goes through the client area. A custom dedicated server quote, a migration job or a reseller deal can be billed straight from the AywaPay dashboard:
- [Payment links](/payment-links) for a one-off amount you agree in chat or email. Make the link single-use so the same bill can't be paid twice.
- [Crypto invoices](/crypto-invoice) for a named client and an order number.
- [Recurring invoices](/recurring-billing) for a client you bill every month outside WHMCS: an invoice is created and emailed on each date.
Which coins to offer
Most hosting clients pay with USDT on TRON (TRC-20) or USDT on BNB Smart Chain (BEP-20), where a transfer costs little. Add Bitcoin for clients who hold it, and USDC or USDT on Ethereum for larger yearly bills. A short list is easier for the client. See the supported coins and TRC-20 vs ERC-20 vs BEP-20.
Getting the money out
- Balance per coin. Each confirmed payment lands in your balance in the coin that was paid, minus fees.
- Withdraw to your own wallet whenever you like, with your 2FA code.
- [Auto settlement](/auto-settlement) sends the balance of a coin to your saved wallet once it reaches the amount you set.
- Accounting export gives your bookkeeper every balance change in the coin and in US dollars.
What it costs
The WHMCS module is free. You pay 0.5% per incoming payment plus the coin's network charge, with no setup or monthly fee. Choose Store pays to cover both yourself, or Customer pays to add them on top so you receive the full invoice amount. Withdrawals cost $0.25 plus the network fee. Current numbers are on the pricing page.
A checklist before you switch it on
- Install the module and save both the API key and the webhook signing secret.
- Make sure your firewall or bot protection lets POST requests reach
/modules/gateways/callback/aywapay.php. - Test with a
test_key on a test client: simulate paid, underpaid and expired, and read each line in the Gateway Log. - Set the underpayment margin and the coins your store accepts.
- Pay one small real invoice yourself with the live key, then tell your clients. The hosting page has a short overview you can share with your team.
Frequently asked questions
- Can hosting renewals be charged to a crypto wallet automatically?
- No. A crypto wallet can't be charged without its owner sending the payment. WHMCS creates and emails each renewal invoice, the client pays it with Pay Now, and the invoice is then marked paid by itself.
- What happens if a client pays only part of a WHMCS invoice?
- The WHMCS invoice stays unpaid and the Gateway Log shows how much arrived and how much is still due. The money that arrived is credited to your AywaPay balance, so you can ask for the rest or refund it.
- Does a paid invoice unsuspend the service?
- Yes. Once the module adds the payment, the invoice is Paid and WHMCS runs its usual steps, such as renewing or unsuspending the service.
- Can I bill clients who are not in WHMCS?
- Yes. Use payment links, crypto invoices or recurring invoices straight from the AywaPay dashboard.