#karanb

1 messages · Page 1 of 1 (latest)

halcyon bronzeBOT
chrome panther
#

Hi there 👋 can you tell me more about what is giving your problems?

icy trellis
#

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

chrome panther
#

To clarify, you're seeing a 403 returned when we try to send an event to one of your livemode webhook endpoints?

icy trellis
#

yes

#

I've tried it couple of times and same thing as an error

chrome panther
#

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.

icy trellis
#

thats what im trying to figure out, ive been working on it for this whole week but no success

chrome panther
#

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.

icy trellis
#

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

chrome panther
#

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.

icy trellis
#

so while setting up events, we need to make sure it returns 200 ok resopnse when passed through stripe cli