Odoo 19 app

OpenNode Bitcoin Payment Gateway

OpenNode for Odoo 19: take Bitcoin over Lightning or on chain on the OpenNode checkout

What it does

OpenNode charges - Lightning and on-chain - Signed webhook plus read-back - Odoo 19 Community and Enterprise

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.

Features

OpenNode chargeamount in your currency, order id, description, customer name and email, callback and success URL
Lightning or on chainthe OpenNode checkout offers both; open it on Lightning first or hide the fiat value
Signed webhookhashed_order must equal HMAC-SHA256 of the stored charge id with your API key
Read-backthe charge is then read from OpenNode by the id Odoo saved; the webhook body status is not used
Status mappingpaid confirms, processing and underpaid stay pending, expired and refunded cancel, failed is an error
Underpaid amountthe missing satoshis are shown on the transaction
Charge optionslifetime from 10 minutes to 72 hours, auto-settle to fiat, email to you when paid
Development and liveTest mode uses dev-api.opennode.com and the development checkout
Status checka button and a check every 15 minutes read open charges
API logcharge creation, webhooks and reads, with the API key, signature and email masked