#hackerman9186
1 messages · Page 1 of 1 (latest)
I'm not sure what you mean. Can you explain or share an example?
When I create PaymentIntents and the customer exits the process, these paymentIntents are left as incomplete. How can I auto cancel them after a period of time?
You can't, you would control this using your own logic and call the /cancel API
Checkout sessions expire automatically after some time, but not Payment Intents you create directly
Is there a way to bring all the PaymentIntents and the ones that are not completed, Cancel them?
You can use the Search API to find PaymentIntents by status: https://stripe.com/docs/search#query-fields-for-payment-intents