From ff7b20b0dc1fbb8adcbcce59c3d70d88ff2cbccc Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 31 Dec 2020 16:59:22 +0530 Subject: [PATCH] Stripe id is not a dict --- webhook/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webhook/views.py b/webhook/views.py index 420e718c..7e297944 100644 --- a/webhook/views.py +++ b/webhook/views.py @@ -241,7 +241,7 @@ def handle_webhook(request): request = json.loads(incomplete_pm.request) logger.debug("request = %s" % str(request)) if incomplete_pm.stripe_onetime_charge: - soc = json.loads(incomplete_pm.stripe_onetime_charge) + soc = incomplete_pm.stripe_onetime_charge logger.debug("stripe_onetime_charge = %s" % str(soc)) if incomplete_pm.gp_details: gp_details = json.loads(incomplete_pm.gp_details)