#cashoutcam
1 messages · Page 1 of 1 (latest)
hi! there's not really any specific guide Stripe would have. It's mainly just accepting a payment with your Stripe account on your website(https://stripe.com/docs/payments/accept-a-payment) and then when handling the successful outcome, you can interact with Discord's APIs to do whatever it is you need to do after a user pays.
Right, thank you for that! I was just wondering how can i interact with the Discord API? After i collect the subscription payment (from the stripe checkout page) i'm unsure of what to do next tbh
from the Stripe side, you have your backend server listen to a checkout.session.completed webhook which notifies you that a payment has completed (https://stripe.com/docs/payments/checkout/fulfill-orders)
and then triggered from that your server can interact with Discord's API(https://discord.com/developers/docs/intro) to do whatever it is that you would like to do when someone pays
Gotcha, so I'll install the stripe CLI & get started soon. Out of curiosity, would this suffice? i found a github repo and i think it would save me some time with the coding!(https://github.com/SenorKarlos/StripeWall)
appreciate your help on this topic!
not really familiar with that repo so can't say anything about it I'm afraid
completely understand, btw would I still be able to have a stripe-hosted checkout page? or would i have to create my own UI so that users can OAuth into discord?