Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

alzy_boi's avatar

Does Defining Webhook Event Handlers Override Original Behaviour?

I'm reading the Laravel Cashier documentation and I want to create a Stripe webhook controller so that on customer subscription created and on customer subscription deleted I can send out emails to the user to let them know about their subscription changes. According to the documentation creating a webhook requires creating a route which will override the default stripe webhook route. Does this mean it will also override the default behaviour Cashier has in place for say, creating a new subscription on the backend or ending a subscription etc? All I would really like to do is listen for these events to take place then send emails following the default Cashier behavior. Is this something I should be worried about? Is there a better way to perhaps do this if that's the case?

0 likes
0 replies

Please or to participate in this conversation.