Laurent 2 years ago
parent fdfb744905
commit 43846efb0e
  1. 2
      subscriptions/views.py

@ -29,7 +29,7 @@ def app_store_webhook(request):
#fulljson = json.loads(data)
# signedPayload = fulljson['signedPayload']
decoded_payload = json.loads(base64.b64decode(data))
decoded_payload = json.loads(base64.b64decode(decoded))
# Now you can access the decoded data
type = decoded_payload.get('notification_type')

Loading…
Cancel
Save