Sign inStart free

Stablecoin invoices / Dolibarr

Stablecoin invoice plugin

Dolibarr module for crypto invoices in USDC and USDT

Blokbay for Dolibarr adds a "Pay with Blokbay" button to your customer invoices. It creates a stablecoin invoice with the same lines, taxes and total, and puts the "Pay in USDC/USDT" link on the invoice card, in the PDF and in the invoice email. When your customer pays, the signed webhook records the payment on the bank account you choose and the invoice is classified as paid.

Dolibarr

Works with
Dolibarr 19 to 24
Plugin version
1.0.0
File
module_blokbay-1.0.0.zip · 76 KB
SHA-256 019c1118ce606aa2f1adb3983f1e224df6bd4a2a5c609bbdabcf27ffe31ad3f7
License
GPL-3.0-or-later
Download module_blokbay-1.0.0.zip

How the payment is recorded

  1. The plugin creates the Blokbay invoice through the API with the same customer, lines, taxes and total as your invoice, and keeps the payment link on your invoice.
  2. Your customer opens the link and pays in USDC or USDT from any wallet or exchange. The funds go straight to your own wallet: Blokbay never holds them.
  3. Blokbay sends a signed webhook (invoice.paid). The plugin checks the signature, reads the invoice again from the API and records the payment once, even if the notification arrives twice.

Installation

Before you start, sign in to Blokbay with your email, add your wallet in Settings and create your keys in Payments on your site (secret key and webhook signing secret). Then:

  1. In Dolibarr open Home > Setup > Modules/Applications > Deploy/install external app/module and upload module_blokbay-1.0.0.zip.
  2. In Modules/Applications enable "Blokbay" (Financial modules). Invoices and Banks are enabled with it.
  3. Open the module settings: paste your secret key and webhook signing secret, choose the bank account for the payments and save.
  4. Copy the webhook URL shown on the settings page into Payments on your site > Webhook in your Blokbay panel.

Price

The plugin is free. Blokbay withholds 1% of each paid invoice automatically; unpaid or cancelled invoices cost nothing. No monthly fee and no setup fee. Your customer pays only the network fee of their transfer.

Questions about the Dolibarr plugin

Does the payment link appear in the Dolibarr PDF?
Yes. The PDF of the invoice is generated again with "Pay in USDC or USDT" and the clickable link, and the link is removed once the invoice is paid or cancelled. In your own email templates you can use __BLOKBAY_PAY_URL__.
Does it work with Dolibarr multicurrency?
Yes. The Blokbay invoice uses the currency of the Dolibarr invoice, and the payment is recorded in that currency. For currencies Blokbay does not accept, the button is disabled.
Do my customers need a Blokbay account to pay the invoice?
No. They open the payment link from your invoice or email and pay in USDC or USDT from their wallet or exchange. The link shows the amount, the coins you accept and your company name.
Which currencies can my invoices use?
Invoices in USD, EUR, GBP, CHF, JPY, CAD, AUD, SGD, HKD and AED. The amount in USDC or USDT is calculated at the current public rate when your customer chooses the coin.
What happens if the same webhook arrives twice?
Nothing more: the plugin reads the invoice again from the Blokbay API and records the payment only once. A webhook with a wrong signature is refused.

You remain the issuer: you are responsible for the content of your invoices, your taxes and your obligations towards your customers. Blokbay only provides the payment tool.

Create your Blokbay account

Plugins for other software