#Fredkzk-connect_webhook

1 messages · Page 1 of 1 (latest)

violet pulsar
#

Hi @fallen cedar! Can you clarify what you are trying to do and what doesn't work?
In general there are two ways to listen to webhooks on Standard Connect account:

fallen cedar
#

Hi, sorry I did not hear any notification when you replied!
I will test the WH on the Connect Account then.
But since I'm already logged in with the platform's Stripe acct, I'd love to make the test work there too.
Here is my event we_1JMZzLBfY9idGe2ul77wgJcA Do you see anything wrong as to why the test gives me a 500 error?

violet pulsar
#

Can you share an event that gives you a 500 error (evt_xxx)?

#

I found one (evt_1K2Hy4PgftxD4SedbvXASwME), currently looking at it.

#

For this specific event, Stripe tried to reach your server 3 times, and every time it timed out. So I'm guessing your server received the webhook but didn't return a response fast enough.

fallen cedar
#

Really apologizing as I no longer receive notifications from Discord... Will reboot later.
So do you mean that our server is too slow currently?

violet pulsar
#

That's my understanding yes. What you could do to avoid timeouts is to first reply to the webhook event with a 200 and then process the event on your end (which may be time consuming).

fallen cedar
#

Could you pls look at evt_1K4rtGBfY9idGe2uyZQZscKe where the 500 error shares the response:
"Cannot access protected property Stripe\Exception\SignatureVerificationException::$message"

violet pulsar
#

This seems like an issue related to how you check webhook signatures. Could you share the code that generates that error?

fallen cedar
#

Using a nocode Connect framework...

fallen cedar
violet pulsar
#

Sorry for the confusion: are you doing all your tests in the Stripe CLI? Earlier when I mentioned the timeout, I was talking about this specific endpoint: https://mediadash.com/dmxConnect/webhooks/stripe/

#

We don't have much visibility on our end about what happens on webhooks made to the Stripe CLI.

fallen cedar
#

Yes, Stripe CLI

violet pulsar
#

If you see this error on your end "Cannot access protected property Stripe\Exception\SignatureVerificationException::$message" then yes the error seems to be related to the signing secret keys.
https://stripe.com/docs/webhooks/signatures

violet pulsar
fallen cedar
#

ok, good to know and glad we now managed to pin point the issue

#

Thank you for now