#JayDev-payouts
1 messages · Page 1 of 1 (latest)
@hazy wigeon hi there! can you expand a little on what a "payout page" means specifically?
So I am creating a bot dashboard, and I want discord users to buy a Premium package and they unlock certain perks in the bot, I have the token stored in my websites cookies in which I can get the users information, but if I do it with stripe idk how am I going to access my websites cookie to allow the users id to be stored in my database, so I figured maybe if I can have the stripe payout in my website without changing the url and when its done,I can access the users token
Hmm. Ok so you mean "payment" , not "payout" (sorry, there's a lot of terminology and a payout would mean Stripe sending money to someone not a customer sending money to you)
Hmm. You can definitely get your cookies and update your database.
Like either :
- redirect to Discord to https://myawesomesite.com/payment . On that page you can read some Discord information and get ready, and have a "pay now" button that then redirects to the Stripe Checkout page to process a payment. https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout
- same as above but embed the payment form into your page. https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
Either way I'm sure whatever you're trying to do is completely possible, it's hard for me to be specific though.
Kk but what if a user that never paid through stripe accesses https://myawesomesite.com/payment how will I know?
sorry I am a newbie at stripe
everyone who visits https://myawesomesite.com/payment has not paid through Stripe yet. That's the page they go to in order to make the payment.
after they pay you fulfill their order and do whatever it is you need to do in Discord after someone has paid.
oh so I don't need to change the link in order to pay
like stripe/order/something
it can be my website
Change which link, exactly? As @hollow lava described you'd redirect your customers from Discord to your own website to initiate payment, you control the link they are sent to.