SatSale

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

commit b97727fb6d24c808381e3e404c47741fcc8f309f
parent 2dbc6ccc5da965ba110a3d08f325bbec376f7861
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Fri, 15 Jan 2021 02:39:25 +1100

another webhook attempt

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

diff --git a/server.py b/server.py @@ -76,10 +76,10 @@ def make_payment(payload): update_status(payment) invoice.success.success() - + print("ABOUT TO WEBHOOOK") # Call webhook response = requests.post( - payload['webhook_url'], data={'id' : label}, + payload['webhook_url'], data={'id' : payload['id']}, headers={'Content-Type': 'application/json'} ) if response.status_code != 200: