From 352c780287e8c45230764e4fb8720c8a89e0f400 Mon Sep 17 00:00:00 2001 From: PCoder Date: Mon, 7 Dec 2020 07:53:20 +0530 Subject: [PATCH] Work in progress --- datacenterlight/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/datacenterlight/views.py b/datacenterlight/views.py index 1e530ce0..32e62f3c 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -956,9 +956,9 @@ class OrderConfirmationView(DetailView, FormView): logger.debug(stripe_subscription_obj) latest_invoice = stripe.Invoice.retrieve( stripe_subscription_obj.latest_invoice) - ret = stripe.PaymentIntent.confirm( - latest_invoice.payment_intent - ) + # ret = stripe.PaymentIntent.confirm( + # latest_invoice.payment_intent + # ) if ret.status == 'requires_source_action' or ret.status == 'requires_action': pi = stripe.PaymentIntent.retrieve( latest_invoice.payment_intent