integrallis / stripe_event

Stripe webhook integration for Rails applications.
https://rubygems.org/gems/stripe_event
MIT License
840 stars 107 forks source link

Test Webhooks get status 404 in Stripe Dashboard even though CLI and Rails logs reports Status 200 #156

Open gustafr opened 1 year ago

gustafr commented 1 year ago

Hi, I'm having a problem when testing my webhooks integration with the stripe_events gem. I'm triggering a webhook from the CLI, the CLI interface reports <-- [200] POST for the event. The event reaches my local endpoint, I can process the event as expected and my rails logs is also showing "Completed 200 OK". But in my Stripe Dashboard all webhooks have status "404 ERR" which is not expected. I have tried sending both platform webhooks and connect webhooks but it's the same result for both. Not sure what I'm missing? Anyone else had this problem?