#ᕕ( ᐛ )ᕗ-reuse-setup-intent

1 messages · Page 1 of 1 (latest)

rose valley
#

Hi there 👋 can you elaborate on your scenario a bit?

lone trench
#

We are using setup intents in our flow to get the client secret to have the payment element on our page to gather payment methods. From just reading the docs (https://stripe.com/docs/payments/payment-intents) it says best practice for payment intent is to reuse one instead of creating another one if the process wasn’t complete. I was just wondering if said best practice should be working for setup intent as well.

Learn how to use the Payment Intents API for Stripe payments.

sour idol
#

What's your use-case? Is it just for abandoned/disconnected sessions where the customer navigates back to make a payment page after a short period of time?

lone trench
#

Correct

sour idol
#

Setup Intents, once created and confirmed successfully, should result in an authorized Payment Method that is set up for future usage, so (once confirmed) a Setup Intent isn't really used for anything. So, in this case you should only ever need to reuse it if the customer doesn't make it to the confirmation step