#chibidragoon
1 messages · Page 1 of 1 (latest)
Hi 👋 when working with card payments, our flow for separating the authorization and capture steps of a Payment Intents lifecycle provides a 7-day window for capturing the payment after it was authorized.
https://stripe.com/docs/payments/place-a-hold-on-a-payment-method
Is that what you're looking for?
i know, i already have it that way. My issue is that i have to recreate it more than once and because of that there is a possibility that a user would have a deposit taken for en extra 10 days
basically, i am making an air bnb clone and for the duration of a reservation , we are creating a deposit. Our customer want us to have it available for a max of 3 days after the reservation is finished.
My issue is that if i recreate one on the last day, the client will have to wait an extra 6-7 days
Gotcha, there isn't prebuilt functionality for that, but you can build a flow to cancel the Payment Intent's authorization once the maximum amount of time you want to wait has passed:
https://stripe.com/docs/payments/place-a-hold-on-a-payment-method#cancel-authorization
I will capture feedback for our teams though explaining this is a feature you'd like to see added, so they can take that into consideration.