#simp_api
1 messages ¡ Page 1 of 1 (latest)
đ 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/1331582645540487179
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
how are you accepting payments? Checkout Session, Payment Element, something else?
hiie
we're accepting payments with PaymentIntent
and at react side using PaymentElement
then you can save the payment method by setting setup_future_usage when creating the PaymentIntent: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-setup_future_usage
and then this doc explains how to charge existing customers: https://docs.stripe.com/payments/existing-customers?platform=web&ui=direct-api
okay thanks
we're using flutter as well for mobile app
so can we get previously added cards in flutter
??
so for app part do we need to do any extra steps other than this ?
no, that's enough to be able to reuse the payment method
okay thanks soma