OpenNode Bitcoin Payment Gateway - Lightning and On-chain Checkout | OpenNode Payment Provider
by Modvanta
Odoo
$ 48.86

OpenNode for Odoo 19: take Bitcoin over Lightning or on chain on the OpenNode checkout
OpenNode charges - Lightning and on-chain - Signed webhook plus read-back - Odoo 19 Community and Enterprise
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
OpenNode is a Bitcoin payment processor. This module adds it to Odoo as a payment provider. When a customer pays a quotation, an invoice or a payment link, Odoo creates an OpenNode charge in your Odoo currency and sends the customer to the OpenNode checkout, which shows a Lightning invoice and an on-chain address. When OpenNode calls back, Odoo checks the hashed_order signature with your API key and then reads the charge from OpenNode before it changes anything. Odoo never holds a wallet or a private key.
| OpenNode charge: amount in your currency, order id, description, customer name and email, callback and success URL | |
| Lightning or on chain: the OpenNode checkout offers both; open it on Lightning first or hide the fiat value | |
| Signed webhook: hashed_order must equal HMAC-SHA256 of the stored charge id with your API key | |
| Read-back: the charge is then read from OpenNode by the id Odoo saved; the webhook body status is not used | |
| Status mapping: paid confirms, processing and underpaid stay pending, expired and refunded cancel, failed is an error | |
| Underpaid amount: the missing satoshis are shown on the transaction | |
| Charge options: lifetime from 10 minutes to 72 hours, auto-settle to fiat, email to you when paid | |
| Development and live: Test mode uses dev-api.opennode.com and the development checkout | |
| Status check: a button and a check every 15 minutes read open charges | |
| API log: charge creation, webhooks and reads, with the API key, signature and email masked |
Who it is for
SHOPS THAT WANT BITCOIN Add Lightning and on-chain Bitcoin next to cards. | FREELANCERS AND AGENCIES Send invoices that clients pay from any Lightning wallet. | ODOO PARTNERS A provider with a signed webhook and a read-back on every status. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| Accept OpenNode in Odoo 19 | Not available | Payment provider with the OpenNode checkout |
| Trust the webhook | Not available | hashed_order checked, then the charge read back |
| Underpaid or expired | Not available | Pending with the missing sats, or cancelled |
| Webhook lost | Not available | Status button and a check every 15 minutes |
| Wallet keys | Not needed | None in Odoo: OpenNode holds the funds |
See it in Odoo
API key
One OpenNode API key, Test mode on the development environment, and a connection test.

OpenNode options
Charge lifetime, auto-settle, email when paid, Lightning first, hide fiat, log retention.

Paying an invoice
The customer picks Bitcoin (OpenNode) on the invoice payment page and goes on to the OpenNode checkout. The checkout itself is not shown.

A paid charge
Charge id, status paid, amount and fee in satoshis.

An underpaid charge
The customer sent too little: the transaction stays pending and shows the missing satoshis.

Transactions
Paid, processing, underpaid and expired charges side by side.

API log
Charge creation, the signed webhook and the read-back.

How it works
1 | Create an API key In your OpenNode dashboard, create an API key with the Invoices permission (a development key for Test mode). |
2 | Paste it in Odoo Invoicing > Configuration > Payment Providers > OpenNode: paste the key and press Test Connection. |
3 | Test, then enable Pay a small invoice in Test mode with a testnet wallet, then switch to Enabled with a live key. |
Settings
| Charge Lifetime: 10 to 4320 minutes (default 1440) | |
| Auto-Settle to Fiat: needs a bank wallet set up at OpenNode | |
| Email Me When Paid: OpenNode emails you for each paid charge | |
| Open on Lightning: show the Lightning invoice first | |
| Hide Fiat Value: hide the fiat amount on the checkout | |
| Keep API Log: number of days before old log lines are removed |
Questions
Does Odoo hold any Bitcoin or key?
No. The customer pays OpenNode. Odoo stores the charge id and its status.
When is the order confirmed?
When OpenNode reports the charge as paid. On-chain payments wait for one confirmation (processing) first.
What if the customer pays too little?
The charge is underpaid: the transaction stays pending and shows how many satoshis are missing.
Can I refund from Odoo?
No. Refunds are not sent from Odoo.
Which currencies can I price in?
The order currency is sent to OpenNode, which converts it to BTC at its rate.
Compatibility
Odoo 19.0 Community and Enterprise. Depends on Payment and Invoicing (account_payment). Works with eCommerce, the customer portal and payment links.
Questions before you buy?
Write to modvantaapps@gmail.com. We answer on working days, usually within one day.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module