#fm_best-practices
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/1300647355313553429
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! what do you mean by personal accounts?
Okay, wow that didn't come across as well I thought.
In sum:
- client uses
/stripe-linkto connect their stripe account with their Discord account. Their account ID will be stored with their Discord ID in a database - client uses
/stripe-payto make payments from within Discord
When I'm working on the OAuth flow, the OAuth link jumps right into the account creation process for Connect accounts.
Accounts that are solely for making payments and not intended for making money? I'm beginning to think this isn't a thing based on this reply ...
I've come across bots that will just collect a user's email and store this with their user ID, but this just seems so insecure.
hrm, gimme a while to try and digest what you just explained
Of course. I can provide a more detailed explanation if needed. Thank you for your help ๐
maybe can you also explain your business model?
Yes. I provide online yoga classes and personal training on Discord. My clients have the option to pay-what-you-want per class, pay a monthly subscription, and buy packages for private sessions. As most of this work is done through Discord, I want to simplify the path they take to pay for classes.
Currently, I have pinned posts with links to payment pages. I just recently built a command where a client can easily grab the pay-as-you-go link. The next step in my development concept is to allow clients to connect their Stripe accounts with their Discord account so they can eventually pay for classes, packages, and manage subscriptions right from within Discord.
by clients, do you actually mean customers i.e. the person paying for classes?
Yes, correct.
aaah, okay i understand now. So Connect isn't used for this scenario. Your clients are what we(Stripe) calls Customers
Ah, okay. Is there an OAuth flow for customers for a scenario like this?
nope, so customers from Stripe's end doesn't necessitate authentication to create them / link them from our end. you would need to build authentication on your end if that's what you want
the exception is with the no-code customer portal - https://docs.stripe.com/customer-management/activate-no-code-customer-portal which if i recall correctly, the customer enters their email and they verify themselves through an email sent