Introduction
In programming, it’s important to make sure that your code is readable, maintainable, extendable, and easily testable. One of the ways that we can improve all of these factors in our code is by using interfaces.
Intended Audience
This article is aimed at developers who have a basic understanding of Laravel from version 6 and using inheritance in PHP. If you know how to create a basic crud app in Laravel, this article should hopefully be understandable.
How to Listen to Stripe Webhooks from your laravel app locally
What are Webhooks and why do i need them?
When asked what webhooks are, I like to explain them as requests made from one app to another. It’s okay to think of them as API calls that are either made from your app to another app, or the other way around.
Conclusion
Hopefully, reading this article should have given you a brief overview of stripe-checkout is, how they can be used in a laravel app, and how to successfully listen for webhooks from stripe in Laravel.
For any of my Laravel developer readers, I will be writing a new blog post for next week that will show you how to use the bridge pattern in Laravel using interfaces. If you’re interested in this, feel free to subscribe to my newsletter below so that you can get notified when I release it.
I’d love to hear in the comments if this article has helped with your understanding of implementing stripe checkout in laravel. Keep on building awesome stuff! 🚀