Sign inStart free

Stablecoin invoices / Odoo

Stablecoin invoice plugin

Odoo module for customer invoices paid in USDC and USDT

The Blokbay module for Odoo adds a "Pay with Blokbay" button to posted customer invoices. It creates the stablecoin invoice with the same customer, lines and taxes, keeps the payment link on the invoice, in the PDF and in the invoice email, and registers the payment when the signed invoice.paid webhook arrives. The same module is also the Blokbay payment provider for the Odoo eCommerce checkout.

Odoo

Works with
Odoo 17 and 18 (Community, Enterprise)
Plugin version
1.3.0
File
blokbay-odoo17.zip · 63 KB
SHA-256 25685d8ff02d27f5821259e6d9385536c79b438e98e8ab1dce7e543c52d2bef6
File
blokbay-odoo18.zip · 63 KB
SHA-256 eed65a0f4183f15db389f18bd8bf4d22f636b13b85d8dd5bcbac5c4f6ddac76d
License
LGPL-3.0
Download blokbay-odoo17.zipDownload blokbay-odoo18.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. Install the module payment_blokbay from Odoo Apps, or unzip blokbay-odoo17.zip or blokbay-odoo18.zip into your addons path and update the app list.
  2. Open Accounting > Configuration > Payment Providers > Blokbay and paste your public key, secret key and webhook signing secret.
  3. Copy the webhook URL of the provider into your Blokbay panel.
  4. On a posted customer invoice click Pay with Blokbay, then send the invoice: the email and the PDF contain the payment link.

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 Odoo plugin

Does it change my Odoo eCommerce checkout?
No. The eCommerce payment method works as before; the invoice button uses the same keys of the Blokbay payment provider.
How is the payment registered in Odoo?
When the signed invoice.paid webhook arrives, the module reads the invoice again from the Blokbay API and registers the payment on the bank journal, so the invoice becomes paid.
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