#Guillaume - PaymentIntent
1 messages ยท Page 1 of 1 (latest)
Ok, so I don't have to do anything special?
That is correct... let me clarify that payment intents will not expire but you can leave it as it. Or you can cancel it, https://stripe.com/docs/api/payment_intents/cancel
And set cancellation_reason to abandoned. Yes I'm on that page. ๐
The cancellation_reason parameter is optional
I've never cancelled a PI before. You're saying they don't expire. Isn't that bad for your backend?
What do you mean? How so?
Obviously if the user just leaves the checkout page there's nothing I can do.
But if they checkout via Paypal and come back to my payment confirmation page, I could see that there's a PI in the session and cancel it.
If you were building a webstore, what would you do in this case that would be the most friendly to Stripe services?
If it doesn't matter I'll just let it be. ๐
To us it does not matter, it's really up to you. It could be confusing to have many unconfirmed payment intents sitting there in the Dashboard. If it were up to me, I would clean it up daily via cron.