#keven
1 messages · Page 1 of 1 (latest)
Payment Intent doesn't expire. If the Payment Intent has been paid successfully, the status will be in succeeded, or payment_intent.succeeded event will be sent to your Webhook endpoint.
Your system should manage your own expiry. For example, when the expiry timestamp is reached, you will check the Payment Intent status. If the payment intent status isn't in processing or succeeded, then you will cancel the payment intent
Here's the Payment Intent status lifecycle: https://stripe.com/docs/payments/paymentintents/lifecycle#intent-statuses
So , when the expiry timestamp is reached, did I need to call the API to cancel the Order ?
Stripe only manages Payment Intent, so I'm unsure which Order you're referring to here. If you are referring to cancel the payment, then yes - Cancel Payment Intent API can be used: https://stripe.com/docs/api/payment_intents/cancel
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok , I understand ,thanks