#Ιvan
1 messages · Page 1 of 1 (latest)
There isn't a pre-programmed thing from Stripe to do this. PaymentIntents don't have an automatic expiration time. You can call Cancel PaymentIntent via the API at any point though, so maybe you can schedule making that call some time after you create each payment intent
If you are using Checkout Sessions, those do automatically expire and cancel their payment intent after 24 hours but we don't allow that to be configurable at the moment. So you would need to do something similar and schedule deleting the session after some time
maybe I expressed it wrong
I am refering to this
below it says that they will be canceled after 7 days by default
i was asking if it was possible to change that
Unfortunately not. If you want a time less than 7 days you would still want to do the scheduling that I mentioned. If you want longer, you can reach out to our support team but unfortunately we can only support that for certain business types (because card networks only support it for certain business types)
yeah I need less than 7 days so I'll figure out a way, ty