#ahsan-terminal-m2
1 messages · Page 1 of 1 (latest)
It should be the same as long as processPayment(...) was called for the same PaymentIntent
So we will pass the same PaymentIntentId(From Client side) in capture_payment_intent on the server side ?
Yes
What if we dont call collectPaymentMethod and processPayment from client side and directly call the capture_payment_intent api with the same paymentIntentID return while creating paymentIntent?
That won't work
I just want to understand the process
You can't capture a Payment that's not in requires_capture status
Ohh okay got it.
NP! 🙂 Happy to help
Can you send me the doc link where "status": "requires_payment_method" statuses are mentioned
https://stripe.com/docs/payments/paymentintents/lifecycle talks about the different PaymentIntent statuses in general