commit 329c15763c902172fed2896d0309769f34c943e6
parent 7cd86d600b3e4c902c54a123309b6fda5ac77283
Author: nickfarrow <nicholas.w.farrow@gmail.com>
Date: Fri, 13 Aug 2021 17:06:39 +1000
Remove webhook verbosity by default
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/satsale.py b/satsale.py
@@ -118,10 +118,10 @@ class create_payment(Resource):
if payment_method is None:
payment_method = config.pay_method
webhook = request.args.get("w_url")
- print(webhook)
if webhook is None:
- print("NO WEBHOOK SUPPLIED")
webhook = None
+ else:
+ print("Webhook payment: {}",format(webhook))
# Create the payment using one of the connected nodes as a base
# ready to recieve the invoice.