#kevin-r_api

1 messages ยท Page 1 of 1 (latest)

manic prawnBOT
#

๐Ÿ‘‹ 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.

junior lance
#

hi there ๐Ÿ‘‹ give me a moment to catch up

cursive phoenix
#

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.

junior lance
#

yes customer session is an option. you can use Payment Element with Setup Intent so that the new payment method is not charged.

cursive phoenix
#

so can I use a "setup intent" on a customer who already exists?

junior lance
#

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

cursive phoenix
#

OK. I'll look that up. Thank you.

junior lance