Stripe Webhook Failing - Need Help to Figure Out Why

Hi All, I have been getting the following email from Stripe - “We’re contacting you because the webhook endpoint associated with your account in live mode has been failing.” It seemed to have been working fine and then about a month or so ago I started getting this email. I thought it may work itself out, but hasn’t. I contacted Stripe and they said it was something with S2Member. I have no idea on where to even start to look to try to figure this one out.
Can someone please help me with troubleshooting this? :pray:
Thanks!

Have you verified the Stripe Options in s2Member? If you are certain those are correct I’d contact your hosting provider. Perhaps they can find something in their server-side logs showing why the webhooks are failing.

Hello Pat,
No luck anywhere. Stripe can’t help me, I can’t find any help on the S2Member forum, and I contacted my hosting provider and no love there. Not for sure what to do or even where to look…:no_mouth:

Here is the response I got after chatting with hosting provider for over an hour…
“There is nothing in the current logs nor server side logs to identify this issue not working.”

This happened to me before where I got those emails, but it was because I had changed the directory structure of my website (moved my blog from subdirectory /blog to main directory) folders and so url needed updated. Updated the web hook on stripe website and all is well.

Hi Ryan, the bummer is all my urls are correct… :no_mouth:
Thank you though for your input… :smiley:

I’m really reaching here, but have you verified that the webhook in Stripe and your s2Member settings are both for the same mode (Live vs Test)?

Hello Pat, I just double checked and everything looks to be in order. What else should I look for? Thanks

Have you ever just deleted the current error causing webhook in stripe and then copy the one from s2member in again? Just in case a space or hidden character is on the old one, this happened to me on Amazon S3 setup very similar.

2 Likes

That was going to be my next suggestion. Try creating a new webhook altogether.

Hello Pat, I just deleted my webhook on Stripe and created a new one. I guess I will wait now to see what happens… :astonished:

We had this issue before and it was something weird where one of them was sending duplicate headers back and that was creating issues. I will try and dig up the email chain on it but it was a mess but we did get it fixed. Maybe someone smarter than me knows what I’m talking about and can chime in :slight_smile: I’ll look for the emails.

I also have a former client that uses s2 and they had the same problem last week and it just fixed itself after about 24 hours. Still not sure how but it works great now.