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