#shastasanu_best-practices

1 messages · Page 1 of 1 (latest)

spring gladeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1475659074099089609

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

tulip jasper
#

The main workflow I'm trying to understand here is something like the following.

I have a page with the payment element meant to setup off session payments and future use payment methods. The user needs to have a valid payment method to access my app. If the user sets up a bank account and requires micro deposit verification, how long can I rely on the setup intent created for state to show to my user? If they leave the app and come back after 30 minutes, should I show the setup form again or show them that they have a setup intent waiting for further verification.

waxen geyser
#

SetupIntent does not have an expiration. You can just reuse them

tulip jasper
#

Sweet thanks for the answer, I missed the clarification in the docs here about them being unconfirmed

"Don’t maintain long-lived, unconfirmed SetupIntents because they might not be valid."