Video Version of the Lesson
[Only for premium members]
[Only for premium members]
[Only for premium members]
Building on our water park ticket purchasing system from Lesson 2, we'll now implement the complete payment flow by handling Stripe webhooks.
When customers complete their payments, Stripe will notify our application through webhooks, allowing us to update order statuses and send confirmation emails.
This lesson shows the "other side" of API integration - instead of making HTTP requests to external services, we'll receive and process HTTP requests from Stripe.
So, our goal is to create the Route/Controller/Service(s) to catch that webhook, whenever that comes in (it might not happen immediately).
Visually, our goal is that after the customer is seeing this "Processing" spinner...
...they would see this Success page next:
Meanwhile, on the back-end, the order would be marked as completed and email confirmation sent.
By the end of this lesson, you will learn how to:
When a customer completes their payment, Stripe sends multiple...