#karanb
1 messages · Page 1 of 1 (latest)
Hi there 👋 can you tell me more about what is giving your problems?
hi so i added webhook and also i got 200 ok as response but when it goes live it gives me error
it sends me 403 error
To clarify, you're seeing a 403 returned when we try to send an event to one of your livemode webhook endpoints?
Gotcha, so you'll need to look into why your server is returning a 403 back to us then, we won't have much insight into why your webhook event handling code is doing that.
thats what im trying to figure out, ive been working on it for this whole week but no success
Do you have an example of an event where you saw this behavior? I can try to look and see if there is anything in the response that I see.
However, I think the best approach for this is to add logging to your endpoint so each step of the process generates a log line. This will allow you to track exactly which path your code is taking, and where it exits.
another question stripe trigger doesnt support payment method.detached
but what if we do want to add it as an webhook
like im trying to add payment method events and all the payment method events
Sorry, I'm not sure I'm following how what events the Stripe CLI can trigger relates to setting up endpoints to listen for those events.
so while setting up events, we need to make sure it returns 200 ok resopnse when passed through stripe cli