In this episode, you'll learn how to build a basic webhook handler.
The platform we're building in this series allows creators to produce creative content (e.g., a newsletter), publish their content, and monetize their content with paid subscriptions.
This is episode 07 in the series. Stay tuned and subscribe for updates throughout the summer. We'll cover all the ins and outs of Stripe Connect, how you need to model and store things in your database, how to handle authentication, how to process web hooks and post-payment events in your Stripe account, how to onboard creators, how to use Stripe Checkout on the front end to securely accept payment, how to setup the Stripe Customer Portal to allow subscribers to manage their payments and subscriptions.
Presenter
CJ Avilla - Software Engineer - / cjav_dev
Table of contents
00:00 Introduction
02:05 Building the event model
03:08 Generating a webhooks controller
04:51 Configuring the event model
06:45 Updating your routes
08:00 Testing the webhook endpoint
10:04 Updating the event job
10:59 Conclusion
Resources
Stripe Connect docs: stripe.com/docs/connect
Stripe Connect guide: stripe.com/docs/connect/explo...
Sidekiq: github.com/sidekiq/sidekiq
Tailwind UI: tailwindui.com/
Stripe Checkout: stripe.com/docs/payments/chec...
Stripe Customer Portal: stripe.com/docs/customer-mana...
Checkout 101 video series: • Checkout 101: low code...
Checkout playlist: • Stripe Checkout
Support
If you have a question, please feel free to reach out to our support team on Discord at stripe.com/go/developer-chat
Updates
Sign up to stay updated with developer news: go.stripe.global/dev-digest
Feedback
If you have any feedback about this or other episodes, let us know: forms.gle/VjNqzRhotM2snYo88
#stripe #payments #ruby #rails #webhooks
Негізгі бет Ойын-сауық Build a basic webhook handler
Пікірлер: 1