BTCPay Library Included

This commit is contained in:
vandekul committed 2023-11-13 14:40:43 +01:00
1 parent a37990667a
commit 7930e3eb30
8 files changed
+265 -16

No files matched your search

+1 -2
View File
@@ -33,7 +33,7 @@ from odoo.http import request
from odoo.tools import html_escape
import json
from btcpay import BTCPayClient
from ..models.libs.client import BTCPayClient
_logger = logging.getLogger(__name__)
@@ -71,7 +71,6 @@ class BTCPayController(http.Controller):
@http.route('/payment/btcpay/ipn', type='json', auth='public', csrf=False)
def btcpay_ipn(self, **post):
""" BTCPay IPN. """
_logger.info('BTCPAY IPN RECEIVED... ')
data = json.loads(request.httprequest.data)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.