SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit aeed429598855a08e1fd509717457ca03aad7bcb
parent 7b4ceca5af3f177531b07b43b9fb0a7dbfd3c182
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Fri, 15 Jan 2021 02:52:29 +1100

another webhook attempt

Diffstat:
Mserver.py | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/server.py b/server.py @@ -88,11 +88,13 @@ def make_payment(payload): ) if response.status_code != 200: print('Failed to confirm payment via webhook {}, the response is: {}'.format(response.status_code, response.text)) + payment.status = response.text + payment.response = response.text else: print("Successfully confirmed payment via webhook.") + payment.status = 'HOOKED' + payment.response = 'HOOKED' - payment.status = 'HOOKED' - payment.response = 'HOOKED' update_status(payment) print("Done response part...") ### DO SOMETHING