How to accept USDT and USDC on Dolibarr
To accept USDT and USDC on Dolibarr, deploy the free Blokbay module from the setup page, enable it, paste your keys, choose the bank account and set the webhook. Your customers pay invoices and sales orders in crypto from the Dolibarr online payment page or from a stablecoin invoice link, the money goes straight to your wallet and Dolibarr records the payment and classifies the invoice paid. Blokbay withholds 1%, you receive 99%.
What you need
Coins and networks on your payment page
Your customer chooses the coin on the payment page. Today these are available:
- BTC on Bitcoin, from 100 USD: two exact transfers from the customer's wallet, one of them straight to your Bitcoin address
- USDC on Ethereum, Polygon, BNB Chain, Base, Arbitrum, and Solana
- USDT on Ethereum, Polygon, BNB Chain, Arbitrum, and Solana
- ETH on Ethereum, Base, and Arbitrum
- SOL on Solana
Bitcoin appears only if you add a Bitcoin address in Settings. USDC/USDT/SOL on Solana appears only if you add a Solana address in Settings.
Gateway contract: 0xd4b637cC81D5B5115Cd0204A9ba6B60474F05e31 (Ethereum, Polygon, BNB Chain, Base, and Arbitrum)
Video: installation and a test payment
What you need
Dolibarr 19 to 24 with the Invoices module, a Blokbay account and the public address of a wallet you control. The currency of the invoice or of your company must be one of USD, EUR, GBP, CHF, JPY, CAD, AUD, SGD, HKD, and AED, and your customer or their billing contact needs an email address.
A bank account in Dolibarr where the crypto payments are recorded helps your accounting, for example a new account named Stablecoins.
Install the module
- Sign in to Blokbay with your email and add your wallet address in Settings.
- In Payments on your site, create the secret key, shown only once, and copy the webhook signing secret.
- Download module_blokbay-1.2.0.zip and upload it in Home > Setup > Modules/Applications > Deploy/install external app/module. You can also unzip it so that the folder blokbay sits in htdocs/custom.
- In Modules/Applications enable Blokbay, in the family Financial modules. Invoices and Banks are enabled with it.
- Open the settings of the module, paste the secret key and the webhook signing secret, choose the bank account and the payment method, and save.
- Copy the Webhook URL shown on the settings page, https://your-dolibarr/custom/blokbay/public/webhook.php, into Payments on your site and send the test event.
- Validate a small invoice and pay it from your own wallet.
Updating from 1.0.0: upload the new zip the same way and open the settings page once. Settings and existing links are kept.
Crypto on the online payment page
Blokbay becomes an online payment method of Dolibarr. On the online payment page of an invoice or a sales order, which Dolibarr can add to emails and PDFs, your customer clicks Pay in crypto and goes to the Blokbay payment page. The amount comes from the document, never from a value typed in the page.
When the payment is confirmed, the module reads it again from the Blokbay API, checks reference, amount and currency, and records it once on your bank account with the transaction hash as number. An invoice is classified paid; for a sales order Dolibarr creates, validates and pays the invoice and classifies the order billed.
Stablecoin invoices
On a validated customer invoice that is not paid yet, click Pay with Blokbay. The module creates a Blokbay invoice with the same lines, taxes and total and puts the link on the invoice card, in the PDF and in the invoice email. In email and ODT templates you can use __BLOKBAY_PAY_URL__.
If the invoice is paid another way, cancelled or set back to draft, the Blokbay invoice is cancelled too, so your customer cannot pay twice. The secret key and the webhook secret are stored encrypted and never shown again after saving.
Costs
The module is free and open source, with no monthly fee. Blokbay withholds 1% of each payment and you receive 99%, straight in your wallet: there is no balance on the Blokbay side. Your customer pays the network fee of the transfer.
You remain responsible for your invoices and taxes. Ask your accountant how to record crypto receipts in Dolibarr for your country.
Questions and answers
Which Dolibarr versions are supported?
Can a customer change the amount on the payment page?
Is the module on DoliStore?
You remain the seller: you are responsible for your website, your products and your obligations towards your customers, including invoices, delivery, refunds, taxes and the checks required in your country.
Start accepting crypto today
1% per payment, no fixed costs, funds go directly to your wallet, no approval needed.
Start freePractical guides
Accept USDT and USDC payments on WooCommerce, step by step
Set up USDT and USDC at your WooCommerce checkout in about ten minutes: plugin from WordPress.org, wallet, keys, webhook and a first real test payment.
Sell online courses and memberships for crypto on WooCommerce
Sell courses, memberships and paid communities for USDT, USDC or Bitcoin: one-time access with the gateway, recurring plans with renewal payment links.
Accept crypto for digital downloads with Easy Digital Downloads
Sell ebooks, software, music and templates for USDT, USDC or Bitcoin: download links sent as soon as the payment is confirmed, money straight to your wallet.
Accept crypto donations on WordPress: donate button and GiveWP
Add a crypto donate button to any WordPress page or a crypto gateway to GiveWP forms: USDT, USDC, ETH, BTC and SOL donations straight to your wallet.
Sell event tickets for crypto and split revenue with the venue
Sell event tickets for USDT and USDC on WordPress and split each sale between organizer, venue and partners, each paid in their own wallet at checkout.