forked from 3wordchant/capsul-flask
print invoice
This commit is contained in:
parent
be8cfee3c3
commit
155b0d579a
@ -59,6 +59,9 @@ def btcpay_payment():
|
|||||||
redirectURL=f"{current_app.config['BASE_URL']}/console/account-balance",
|
redirectURL=f"{current_app.config['BASE_URL']}/console/account-balance",
|
||||||
notificationURL=f"{current_app.config['BASE_URL']}/payment/btcpay/webhook"
|
notificationURL=f"{current_app.config['BASE_URL']}/payment/btcpay/webhook"
|
||||||
))
|
))
|
||||||
|
|
||||||
|
current_app.logger.info(f"created btcpay invoice: {invoice}")
|
||||||
|
|
||||||
# print(invoice)
|
# print(invoice)
|
||||||
invoice_id = invoice["id"]
|
invoice_id = invoice["id"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user