From f48a5cfe71d40cfa9120258daaf34f3eca126856 Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 31 Dec 2020 16:29:18 +0530 Subject: [PATCH] Set completed_at value --- webhook/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/webhook/views.py b/webhook/views.py index 07bf34ad..27b12b05 100644 --- a/webhook/views.py +++ b/webhook/views.py @@ -268,6 +268,7 @@ def handle_webhook(request): gp_details=gp_details, billing_address_data=billing_address_data ) + incomplete_pm.completed_at = datetime.datetime.now() except (IncompletePaymentIntents.DoesNotExist, IncompletePaymentIntents.MultipleObjectsReturned) as ex: logger.error(str(ex))