SatSale

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

commit 4394ee27a757b986e1d5ab457444e42339d2585e
parent c93c93e72d311dd455389a5c10b1ac3390438491
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Fri, 15 Jan 2021 12:13:51 +1100

fix webhookgit add gateways/btcpyment.php

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

diff --git a/server.py b/server.py @@ -82,8 +82,10 @@ def make_payment(payload): # Call webhook + print("PAYLOADDDDDDDDDDDDDDDDDDDDD") + print({'id' : payload['id']}) response = requests.get( - payload['webhook_url'], data={'id' : payload['id']}, + payload['webhook_url'], params={'id' : payload['id']}, headers={'Content-Type': 'application/json'} ) if response.status_code != 200: