#HyperGame

1 messages · Page 1 of 1 (latest)

north daggerBOT
sour cedar
#

Hi there, I believe this is your application logic to decide when to create a PaymentIntent.

north daggerBOT
split stump
#

My current logic is to create a PaymentIntent whenever they access the checkout page, but that will create a lot of payment intents if the user just reload the page

cedar hawk
#

In this case, you should only create one Payment Intent for an order. Even when the page is re-loaded, it will be the same payment intent

split stump
#

Ah alright, is there a way to automatically delete payment intents after certain amount of time passed?

cedar hawk
split stump
#

thanks!