From 155b0d579ae10a5af8ec2b9b783e37233a1a0a42 Mon Sep 17 00:00:00 2001 From: forest Date: Sat, 16 May 2020 21:28:28 -0500 Subject: [PATCH] print invoice --- capsulflask/payment.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/capsulflask/payment.py b/capsulflask/payment.py index 1827d3b..c3eea4f 100644 --- a/capsulflask/payment.py +++ b/capsulflask/payment.py @@ -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"]