MENU

Fun & Interesting

Stripe Webhooks - The Ultimate Guide

Brett Westwood - Software Engineer 20,164 lượt xem 1 year ago
Video Not Working? Fix It Now

In this video, I go step by step on how you can use Stripe webhooks in a React.js/Next.js application.

Stripe webhooks listen to events in your Stripe account and allow you to trigger functions when a specific event is triggered.

You can test out the Stripe webhook in your development server with the Stripe CLI.

After watching this video, you should be able to successfully setup Stripe webhooks and test them out locally and in production as well.

Timestamps
0:00 Intro
0:52 What are Stripe Webhooks
2:00 Initialize Stripe
3:57 Get Stripe Secret Key
4:54 Code the Stripe Webhook API route
10:16 Set up the Local Listener Stripe CLI
13:23 Finish Coding the Stripe Webhook API route
25:13 How To Set Up For Production
28:32 Outro

Comment