I'm trying to setup Stripe functionality but a bit unclear as to whether I need to implement the webhook functionality or not. Does cashier process the 5 events automatically or do I need to handle them explicitly? I'm not looking to do anything special - only process 1 subscription product with 2 plans.
Would I need to add the routes?
Additionally, do I set the webhook to the URL/webhook ?
Sorry for all the likely basic questions but I want to ensure Stripe is communicating back to the app as intended.
Thanks @fylzero this was very helpful. But just to be clear, do I need to handle the recommended webhooks in my app or is that automatically handled by Cashier? I see my tables get updated when I create a new subscription but I'm not sure if these events are the same.
@illmatic Read the Laravel documentation on this. No, cashier does not setup your webhooks for you. The video and documentation explain what this is for and how to set it up.
The question is now do I still need to do extra configuration such as defining the routes?
If I use the Spatie package will I screw up the default configuration?
For me the biggest impact is understanding if
on trial completion, will the subscriptions table automatically update the stripe_status appropriately? Is this handled automatically by cashier or is a customer.subscription.updated event emitted via webhook?