print invoice

This commit is contained in:
forest 2020-05-16 21:28:28 -05:00
parent be8cfee3c3
commit 155b0d579a
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ def btcpay_payment():
redirectURL=f"{current_app.config['BASE_URL']}/console/account-balance",
notificationURL=f"{current_app.config['BASE_URL']}/payment/btcpay/webhook"
))
current_app.logger.info(f"created btcpay invoice: {invoice}")
# print(invoice)
invoice_id = invoice["id"]