#2clutch-webhook-500
1 messages · Page 1 of 1 (latest)
Hello! Step one would be to read the error log on your server for your code
something must be crashing/raising exceptions
I'm not getting anything.
In python, what would the way to return actual stripe response? we're currently returning our own custom response.
we don't really care about the response beyond the status code
https://stripe.com/docs/webhooks/quickstart has examples in all the languages
Hi @remote cargo I'm taking over this thread.
Okay.
so when i'm testing my implementation with the cli everything works fine.
when i do from the front-end, I run into issues.
is that normal?
Since you encountered 500 errors in the webhook implementation. I'd suggest you to check your backend log instead of frontend.
so should put my entire logic in a try and catch?
or do i catch the failed events. unless you're recommending I log everything?
I'd suggest you to check your backend log and see what causes the 500 errors.
ok so apparently my endpoint secret changed. i'm about to update the value is our back-end.
is there any reason for that to happen?
The webhook secret generated by CLI is different from the one in Dashboard.