#๐ Aristochat
1 messages ยท Page 1 of 1 (latest)
Can you confirm me that all payment intents always go through the processing state before succeeding/failing ? Even cards that should be very quick ?
Card payments are synchronous and won't transition toprocessing. Only async PMs, like banking methods.
Details on delayed PMs: https://stripe.com/docs/payments/payment-methods#payment-notification
So a card payment will directly go to either a success or a failure ?
So what's the state before going to success/failure ?
Depends on your integration: https://stripe.com/docs/payments/intents
Thanks, and can you confirm me that a payment failure will trigger the event payment_intent.payment_failed with a payment intent state of requires_payment_method
Yep. This should be easy enough for you to test, btw
thanks ๐
just want to be sure
Last question : the amount_received param in PaymentIntent object should be amount minus the fees collected by stripe, right ?
no
I don't quite remember what field is for, I think it's either related to when you capture less than an authorised charge (https://stripe.com/docs/payments/place-a-hold-on-a-payment-method) or for certain payment methods that can have partial amounts, not sure. But either way it's not about a net amount, that doesn't really exist at this level in the API