#Alberto

1 messages · Page 1 of 1 (latest)

warm shellBOT
tired drift
#

What do you mean "canceled"? You create an authorization on the card that lasts up to 7 days, then you either capture it or cancel it in that timeframe.

safe sparrow
#

the docs says "Uncaptured PaymentIntents will be canceled a set number of days after they are created (7 by default)". Is there a way of decreasing the days for instance to 5?

tired drift
#

Ahhhh, okay. I see what you're saying. Let me dig a minute

safe sparrow
#

👍

#

I've been looking for that parameter too but I couldn't find it

tired drift
#

So, there isn't a way to do that automatically on Stripe. You can set it to cancel at any point, but we don't supply a field that will auto-cancel after X days. The verbiage there is used to imply that 7 is the default, but a card issuer might have more or less (since they can release the authorization on their end). Additionally other payment method types have different numbers of days (e.g; Afterpay has 13 day holds, and in-person Terminal payments have 2 days)

#

Does that make sense?

safe sparrow
#

Yes, it does thanks!! An other question: is it possible to automatically capture a PaymentIntent when its status is "requires_capture" after X amount of time without having to call from our side (client or server of ours) the function PaymentIntent.retrieve?

#

because right now the api automatically cancels the pyment intent if not collected. We would like to do the opposite: always capture the payment unless we manually cancel it.

tired drift