#brk - Payment Intents

1 messages · Page 1 of 1 (latest)

still isle
#

Hello! Not sure what you mean. Are you asking if Payment Intents expire or something along those lines?

carmine matrix
#

Yeah, sorry.

#

If it expires

#

I was wondering if I can save a paymentIntent

still isle
#

Save it how? Can you tell me more about your use case?

carmine matrix
#

Sure.

On the checkout I created a paymentIntent, but the user can go back so I save it on a state management this way if the user go to the checkout again I'll just update the amount of the payment intent if the items changed, and avoid creating a new one payment intent

still isle
#

Yep, that use case is exactly what Payment Intents are designed for!

carmine matrix
#

it doesn't expire?