#fabian_finn
1 messages · Page 1 of 1 (latest)
Hi there!
PaymentIntent and SetupIntent go though multiple status explained here: https://stripe.com/docs/payments/paymentintents/lifecycle
Hi soma! thanks for jumping on this topic
If it's in requires_confirmation, then you need to actually confirm the SetupIntent for it to succeed.
Is this something the customer needs to take action?
Does this only apply to credit cards or other payment methods as well e.g., SEPA DD?
In our integration there is a time discrepancy between customers setting up their payment method and the first charge being initated on that payment method
- You create the SetupIntent on the backend
- The customer fills their payment information on yoru website
- You try to confirm the SetupIntent on the frontend
- Then the bank may ask for users to do some actions, like a 3DS popup
- Once the user finish teh action, the SetupIntent is succeeded
I recommend reading this guide that covers this in more details: https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements
Thanks for sharing! I will have a look - is it possible to initiate charges on the payment method even if the status is requires_confirmation?
No that won't work.
ok thanks for confirming!
Is there any way to retrieve the setupIntent id if only the payment method id is given?
Not sure I follow. You are trying to list all SetupIntent with a payment method?
No worries. I have a list of payment methods ids however, the payment method itself doesn't return any status like the setupIntent on which it was originally created. Is there any way I can retrieve the respective setupIntent id which was used to create to setup the payment method?
Got it. You can use the list SetupIntent endpoint, and pass a payment_method parameter: https://stripe.com/docs/api/setup_intents/list?lang=php
Amazing thank you!