From 12c9140b3a4001101a8ef989980b30098b2ba3a8 Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 31 Dec 2020 16:23:44 +0530 Subject: [PATCH] Fix using correct payment intent id --- webhook/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webhook/views.py b/webhook/views.py index 970f0d33..07bf34ad 100644 --- a/webhook/views.py +++ b/webhook/views.py @@ -228,7 +228,7 @@ def handle_webhook(request): try: incomplete_pm = IncompletePaymentIntents.objects.get( - payment_intent_obj.id) + payment_intent_id=payment_intent_obj.id) request = "" soc = "" card_details_response = ""