#fm_best-practices

1 messages ยท Page 1 of 1 (latest)

vale gulchBOT
#

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

pliant stag
#

hello! what do you mean by personal accounts?

cinder eagle
#

Okay, wow that didn't come across as well I thought.

In sum:

  1. client uses /stripe-link to connect their stripe account with their Discord account. Their account ID will be stored with their Discord ID in a database
  2. client uses /stripe-pay to 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.

cinder eagle
#

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.

pliant stag
#

hrm, gimme a while to try and digest what you just explained

cinder eagle
#

Of course. I can provide a more detailed explanation if needed. Thank you for your help ๐Ÿ™

pliant stag
#

maybe can you also explain your business model?

cinder eagle
#

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.

pliant stag
#

by clients, do you actually mean customers i.e. the person paying for classes?

cinder eagle
#

Yes, correct.

pliant stag
#

aaah, okay i understand now. So Connect isn't used for this scenario. Your clients are what we(Stripe) calls Customers

cinder eagle
#

Ah, okay. Is there an OAuth flow for customers for a scenario like this?

pliant stag
#

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