Laurent 2 years ago
parent c9c5a157d8
commit 05e4eb1e81
  1. 5
      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(<txn-id>)

Loading…
Cancel
Save