The problem is that Stripe only sends evt_00000000000000 when testing which is not going to pass the validation. Am I missing something here? Or should this be wrapped under a not in debug or stripe testing mode?
@bheath I know this thread is old, I ran into this issue also.
Perhaps a workaround if your testing locally, is to open up the laravel/cashier under the vendors folder then the WebhookController.php and temporarily comment out the if statement for eventExistsOnStripe and test.
Editing vendor/core files is frowned upon but this seems like a workaround for now, unless I'm wrong and someone else has any other suggestions.
@bheath That's for 5+, I'm on a project that's still 4.2 (converting soon..)
Just got thinking, you could extend the WebhookController, override the handleWebhook() function to check for the environment which would dictate if it should run existsOnStripe or not.