Skip to Content
Menu
v 16.0 Third Party 12
Download for v 16.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Website (website)
eCommerce (website_sale)
Discuss (mail)
Invoicing (account)
Community Apps Dependencies
Lines of code 753
Technical Name mlr_ecommerce_btcpay
LicenseLGPL-3
Websitehttps://www.milightningrod.com
Versions 16.0 17.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Website (website)
eCommerce (website_sale)
Discuss (mail)
Invoicing (account)
Community Apps Dependencies
Lines of code 753
Technical Name mlr_ecommerce_btcpay
LicenseLGPL-3
Websitehttps://www.milightningrod.com
Versions 16.0 17.0

mlr_ecommerce_btcpay_2

Lightning Rod Ecommerce BTCpay Readme

Overview
This custom module for Odoo 16+ adds BTCpay server as a payment provider to the Ecommerce application. BTCpay server is a potentially self-hosted Bitcoin payment gateway/provider which is queried by API calls from Odoo. BTCpay server account access by API is provided to Odoo and a Bitcoin onchain/lightning option is added to the customer by checkout portal link. If the Bitcoin payment option is selected by a customer, they are forwarded to a BTCpay site with a created invoice and QR code for payment. After the payment is confirmed the customer can be redirected back to the Odoo online store receipt page and the order is registered and queued.

Prerequisites (versions)
Compatible with Odoo 16
Postgres 14+
BTCpay server with API access
mlr_ecommerce_cryptopayments custom module

Installation (see this video for tutorial on Odoo module installation) 1. Download repository and place extracted folder in the Odoo addons folder. 2. Login to Odoo database to upgrade and enable developer mode under settings. 3. Under apps Update the App list. 4. Search for the module (MLR) and install.

Setup

  1. In Odoo navigate to Website-> Ecommerce -> Payment Providers. image
  2. Click on BTCpay to open the record.
  3. Enter a Name for the Instance.
  4. Login into your BTCpay server and navigate to Account -> API Key. Create a key for use with Odoo.
  5. From BTCpay server copy the following information and paste in the Odoo Instance record: the server base URL, API key, and store ID. Enter a minimum and maximum fiat amount.
  6. Click Connect to BTCpay to verify the information is correct. If it is correct a green popup will affirm so, if it is incorrect a red popup will appear. image
  7. In Configuration -> Payment Form select the icon for lightning, in Configuration -> Payment Followup select the Payment Journal. image
  8. Select Enable to make BTCpay instance a current method and save (the first time a new Accounting Journal BTCpay will be created and used for recording transactions).
  9. To have an invoice automatically created which will show the payment was post go to Website -> Configuration -> Settings -> Invoicing -> Automatic Invoicing.
  10. Activate the Sales application if wishing to use online payment links for Invoices. Enable Sales -> Configuration -> Settings -> Quotations & Orders -> Online Payment.

Operation Online Shop 1. A customer will navigate to the Shop section of the website and add items to the cart. After initiating the checkout and filling in customer information the available payment methods will be displayed. image 2. The customer can select the Bitcoin option and directions will appear below. image 3. After clicking Pay Now the customer will be taken to a BTCpay server page with the invoice and QR code to be paid. image 4. The customer scans the QR code or pastes the invoice text as a send from their wallet. image 5. Upon BTCpay server confirmation of the order the customer will have a button to click or be returned automatically to the receipt page of the Odoo site. image 6. Odoo will process the order and create a sales order for fulfillment. image

Invoicing 1. Create a quote from Sales -> Orders -> Quotes -> New. Enter the customer, timeframe, and product information. Create the quote and send to a customer. image 2. Confirm the quote once accepted to change status to a Sales Order. image 3. Click Create Invoice to make the invoice for Billing. Select your preferred options. image 4. Create the payment link to send to the customer for online payment with Action > Generate a Payment Link. image 5. Copy the payment link and use the Send & Print button to convey to the customer. image 6. Visiting the payment link will show the enabled online payment providers. image 7. The customer will be taken to the third-party site and returned upon payment. The customer will be taken to a payment confirmation page and have access to a customer account history portal if they have an account. image 8. Viewing the invoice will show that it is paid. image

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.