#kevin-r_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/1395607467592908810
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there ๐ give me a moment to catch up
Should I start a customer session? If so, can I still display the payment elements? I don't want them to "check out" --- these are people who have created subscriptions before and have paid for at least something in the past. But if they have a new card they want to use going forward, I want to set that up.
So this doesn't seem like it would be created to creating a charge, or adding a new sale, or adding a new prescription, or paying a particular invoice. All those cases are well covered,, but I am just having a very hard time finding out how you want me to uses these session/intent tags to display the web elements that you guys make so pretty.
yes customer session is an option. you can use Payment Element with Setup Intent so that the new payment method is not charged.
so can I use a "setup intent" on a customer who already exists?
You can also do it without customer session. Where you simply retrieve and display existing payment methods on the customer obbjects
yes you can use SetupIntents on existing customers
OK. I'll look that up. Thank you.
This is the customer parameter on the SetupIntent object: https://docs.stripe.com/api/setup_intents/objec#setup_intent_object-customer