From 7fff8f84d8d5826d71a8342376a68920cc00cd42 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Tue, 21 Apr 2020 20:17:43 +0200 Subject: [PATCH] add more debug log --- app/api/views/apple.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/api/views/apple.py b/app/api/views/apple.py index 4d21f2f4..904c1542 100644 --- a/app/api/views/apple.py +++ b/app/api/views/apple.py @@ -33,6 +33,7 @@ def apple_process_payment(): 200 of the payment is successful, i.e. user is upgraded to premium """ + LOG.debug("request for /apple/process_payment") user = g.user receipt_data = request.get_json().get("receipt_data") @@ -287,6 +288,7 @@ def verify_receipt(receipt_data, user) -> Optional[AppleSubscription]: https://developer.apple.com/documentation/appstorereceipts/verifyreceipt """ + LOG.d("start verify_receipt") r = requests.post( _PROD_URL, json={"receipt-data": receipt_data, "password": APPLE_API_SECRET} )