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()