Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7994834151 | ||
|
|
6042284704 | ||
|
|
848b1f5e30 | ||
|
|
d3f8e2a60c | ||
|
|
43920ce700 | ||
|
|
7cb3ee2400 | ||
|
|
8cb6afd918 | ||
|
|
86cf5af6fa |
@@ -0,0 +1,11 @@
|
|||||||
|
# BTCPay Server payment gateway for Odoo 16 and 17
|
||||||
|
|
||||||
|
## Accept bitcoin payments on Odoo 16 and 17
|
||||||
|
This odoo addon allows you to accept bitcoin and Lightning Network (and other cryptocurrency) payments in your Odoo e-commerce store.
|
||||||
|

|
||||||
|
|
||||||
|
## How to install
|
||||||
|
|
||||||
|
Please find the installation instructions here:
|
||||||
|
- [Odoo 17 documentation](https://github.com/btcpayserver/odoo/blob/17.0/payment_btcpay/README.md)
|
||||||
|
- [Odoo 16 documentation](https://github.com/btcpayserver/odoo/blob/16.0/payment_btcpay/README.md)
|
||||||
@@ -1,12 +1,16 @@
|
|||||||
# payment_btcpay
|
# BTCPay Server payment gateway for Odoo 17
|
||||||
# BTCPay Server payment gateway for Odoo 17.0
|
|
||||||
|
|
||||||
## This is the module to connect Odoo 17.0 and BTCPay
|
## This is the module to connect Odoo 17 and BTCPay Server
|
||||||
This module allows you to accept bitcoin (and other cryptocurrency) payments in your Odoo e-commerce store.
|
This module allows you to accept bitcoin (and other cryptocurrency) payments in your Odoo e-commerce store.
|
||||||

|

|
||||||
|
|
||||||
|
:::tip
|
||||||
|
If you use Odoo 16 you can find the documentation [here](https://github.com/btcpayserver/odoo/blob/16.0/payment_btcpay/README.md).
|
||||||
|
:::
|
||||||
|
|
||||||
## Install the module
|
## Install the module
|
||||||
* Clone our [repository](https://github.com/btcpayserver/odoo) or download the .zip from the [releases page](https://github.com/btcpayserver/odoo/releases)
|
* Clone our [repository](https://github.com/btcpayserver/odoo) or download the .zip from the [releases page](https://github.com/btcpayserver/odoo/releases)
|
||||||
|
* Make sure you are on branch `17.0` or downloaded a release tagged with version v17.x
|
||||||
* Place the `payment_btcpay` directory in your Odoo addons directory
|
* Place the `payment_btcpay` directory in your Odoo addons directory
|
||||||
* Install dependencies by running `pip install -r requirements.txt` (from inside the `payment_btcpay` directory)
|
* Install dependencies by running `pip install -r requirements.txt` (from inside the `payment_btcpay` directory)
|
||||||
* Restart Odoo
|
* Restart Odoo
|
||||||
@@ -42,13 +46,13 @@ Check the payment method is enabled:
|
|||||||
|
|
||||||
Congrats, all done. Do some testing to be sure all works.
|
Congrats, all done. Do some testing to be sure all works.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## How does the payment page look?
|
## How does the payment page look?
|
||||||
|
|
||||||
During the checkout the customers will have the option to select the payment method "Pay with Bitcoin / Lightning Network". After selecting they will be redirected to the BTCPay checkout page as shown below.
|
During the checkout the customers will have the option to select the payment method "Pay with Bitcoin / Lightning Network". After selecting they will be redirected to the BTCPay checkout page as shown below.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
## Transaction BTCPay Details
|
## Transaction BTCPay Details
|
||||||
@@ -57,4 +61,4 @@ In transaction object, you will find more technical information about this metho
|
|||||||
* Invoice Id: the id of the invoice for which you want to fetch an event token
|
* Invoice Id: the id of the invoice for which you want to fetch an event token
|
||||||
* Transaction Status: That indicates state of transaction
|
* Transaction Status: That indicates state of transaction
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
'author': 'Vandekul',
|
'author': 'Vandekul',
|
||||||
'website': 'https://github.com/btcpayserver/odoo',
|
'website': 'https://github.com/btcpayserver/odoo',
|
||||||
'category': 'Accounting/Payment Providers',
|
'category': 'Accounting/Payment Providers',
|
||||||
'version': '17.0.1.0',
|
'version': '17.0.1.1',
|
||||||
'license': 'GPL-3',
|
'license': 'GPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': True,
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ class BTCPayController(http.Controller):
|
|||||||
"redirectURL": redirect_url,
|
"redirectURL": redirect_url,
|
||||||
"notificationURL": notification_url,
|
"notificationURL": notification_url,
|
||||||
"extendedNotifications": True,
|
"extendedNotifications": True,
|
||||||
"buyer": {"email": data.get('email'),
|
"buyer": {"email": data.get('email') or 'noemailavailable@example.com',
|
||||||
"name": data.get('name'),
|
"name": data.get('name'),
|
||||||
"address1": data.get('street'),
|
"address1": data.get('street'),
|
||||||
"locality": data.get('city'),
|
"locality": data.get('city'),
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 154 KiB |
Reference in New Issue
Block a user