#ishu22g-confirmation-api

1 messages · Page 1 of 1 (latest)

celest forumBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

dapper warren
#

1/ ideally, the step to confirm the PaymentIntent is done client-side by the customer. But have you tried calling the confirm endpoint?
https://stripe.com/docs/api/payment_intents/confirm

2/ You could create the PaymentIntent with confirm: true parameter. That way you're telling stripe to confirm the payment if it moves to requires_confirmation status

versed talon
#

@dapper warren , I am not using paymentIntent, but setupIntent instead

dapper warren
versed talon
#

Let me check

celest forumBOT
#

ishu22g-confirmation-api

dapper warren
#

👍

versed talon
#

I see

#

Now #1, i.e., test flow works

#

I am calling /confirm endpoint after creating setupIntent

#

So ideally, in order for #2 flow, i.e., end user/production flow to work,

Once end user submits their payment/card information using Stripe Elements form. I will send a request to the same endpoint to setupIntent flow to be completed. Correct?

dapper warren
versed talon
#

Will the logic that I mentioned still work?

dapper warren
#

I believe so

versed talon
#

Hmm.. Okay

#

I will test it out then when I reach there

#

Thanks

celest forumBOT