Skip to main content

FOSSBilling Crypto Payments: Accept Bitcoin and Stablecoins

FOSSBilling is the free, open-source billing and client panel that many hosting and VPS sellers run. To let clients pay its invoices in bitcoin, or in stablecoins like USDT and USDC, add OpenReceive: a free, open-source extension that runs inside your FOSSBilling and pays straight into your own wallet. There's no payment company in the middle, so there's no approval necessary.

What Your Clients See​

Your client orders a plan as usual and picks Bitcoin & stablecoins at checkout. FOSSBilling's own payment page then offers Bitcoin over Lightning, and USDT, USDC, SOL and ETH through a swap provider, which converts the payment so you still receive bitcoin. The swap and network fees are fixed into each quote (on a $20 invoice on December 1, 2026: 2.9%).

When the payment settles, OpenReceive records it the way FOSSBilling's own gateways do: a transaction in FOSSBilling's log, the invoice paid, and FOSSBilling activates or renews the service and sends its emails as usual.

Why it fits a hosting business: a card payment can be disputed ("A dispute (also known as a chargeback) occurs when a cardholder questions your payment with their card issuer," Stripe's docs), while a Lightning payment is final once it settles. Refunds are up to you. This is for legal businesses: it doesn't change what's legal, it changes who has to say yes.

The Steps​

  1. Copy the agent directions. Go to openreceive.org/fossbilling and, under Agent directions, click Copy link.
  2. Paste them into your coding agent (Claude Code, Codex or Cursor), opened in your FOSSBilling folder.
  3. Give it your wallet's receive-only code when it asks. In Rizful, open the menu, then NWC Codes, and copy the receive-only code: it can create invoices in your wallet, but it can never spend. Alby Hub, your own node, works too: Connections, Add Connection, Read Only.
  4. Optional: a swap code for stablecoins, from lightning-swap.com (how to get one).
  5. Let it finish. The agent installs the OpenReceive extension, saves your codes (FOSSBilling stores them encrypted and never shows them again) and checks that everything works. You'll find it in FOSSBilling's admin under Extensions.

It needs FOSSBilling 0.8 or later on 64-bit PHP 8.3 or later with GMP and sodium; FOSSBilling's official Docker image lacks GMP, and the directions add it. Prefer to do it by hand? Follow the FOSSBilling quickstart.

A Real Payment​

On December 1, 2026 we ran FOSSBilling 0.8.8 in Docker and pasted openreceive.org's FOSSBilling directions into Claude Code. It added GMP, installed OpenReceive 0.6.6, saved our Rizful wallet's receive-only code and a swap code, and its checks passed. Then a client ordered a $5-a-month VPS and paid the invoice in bitcoin: a Lightning invoice for 8,260 sats (a sat is short for satoshi, which is the smallest unit of bitcoin; there are a hundred million satoshis in a bitcoin), paid from Alby Hub. The 8,260 sats landed in our Rizful wallet seconds later, the invoice turned paid and FOSSBilling activated the order. OpenReceive takes no cut, and receiving into Rizful is free.

It's crypto, not cards: most clients still pay by card, so run it alongside your card gateway.