From 05e4eb1e812f7a84d62a7557ec913d13c329535e Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 16 Jan 2024 14:27:01 +0100 Subject: [PATCH] test --- subscriptions/views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/subscriptions/views.py b/subscriptions/views.py index bc9452b..e76069d 100644 --- a/subscriptions/views.py +++ b/subscriptions/views.py @@ -51,7 +51,10 @@ def app_store_webhook(request): fulljson = json.loads(decoded) signedPayload = fulljson['signedPayload'] - client = AppStoreServerAPIClient(private_key_bytes, key_id, issuer_id, bundle_id, environment) + # client = AppStoreServerAPIClient(private_key_bytes, key_id, issuer_id, bundle_id, environment) + + environment = Environment.SANDBOX + bundle_id = 'stax.SlashPoker.nosebleed' verifier = SignedDataVerifier([root_cert_bytes, g6_cert_bytes], False, environment, bundle_id) try: # response = client.get_transaction_info()