#arshad.cm
1 messages · Page 1 of 1 (latest)
Once payment succeeds you'll get https://stripe.com/docs/api/events/types#event_types-payment_intent.succeeded
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So when the payment is authorized the state will be in requires_action right?
Not necessarily
Only if it requires 3ds authentication
Actually I am fully confused with this,
When the user is added his card details to the Payment intent, I need to get an event, So how can I achieve this?
First of all I am creating a payment intent
Then using client secret I am doing the payment confirmation in frontend
After some time I am doing the capturing.
This is the flow I am using
Yes
You should get this one: https://stripe.com/docs/api/events/types#event_types-payment_intent.amount_capturable_updated
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.