#ilyeselb-subscription-3ds

1 messages · Page 1 of 1 (latest)

red mountainBOT
small crown
#

Hi 👋 sorry, but I don't think I'm understanding the question. Could you clarify what your flow is doing and where it stops behaving as you're expecting?

nocturne stone
#

i have subscriptiion

#

we are doing a payment for subscrption

#

we use setupPaymentintent

#

to retreve the payment inteent and show the chkount

small crown
#

What is setupPaymentIntent?

nocturne stone
#

on the client side then we do the pyament

#

setupIntent

#

sorr

#

sorry

small crown
nocturne stone
#

we retreive the setupIntent

small crown
#

Okay, where are you getting that Setup Intent from, and how does it relate to the Invoice that you referenced initially?

nocturne stone
#

the normal payments are working

#

whenn we create invoice etc ...

#

but 3d secure paymnet

#

the invoice stays incomplete

small crown
#

If you're using a Setup Intent, then you aren't using anything associated with an Invoice. I'm still not really sure what your flow is, but it sounds like you may want to be finding the ID of the Payment Intent on the existing Invoice rather than creating a Setup Intent.

The payment_intent field on the Invoice points to the related Payment Intent:
https://stripe.com/docs/api/invoices/object#invoice_object-payment_intent

nocturne stone
#

we used setup intent to enable coupons
iif we show the payment Element
with subscription
how we can add copun to it?
should we re create the sub? if yes, we will have unused sub data everytime user leave the payment page or add a copun

small crown
red mountainBOT