Work in progress
This commit is contained in:
parent
e9801eb9c4
commit
352c780287
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue