Stripe webhook delivery issues

I’ve just received an email from Stripe notifying me that the webhook is no longer working correctly and is returning a 404. It stopped working since the 11th of February and was working correctly beforehand. I have made no changes to my site during this time and my Stripe details have remained unchanged, so I think it could be a bug. Here’s the full email they sent me…

"Hi there,

We’re contacting you because we’ve had some trouble sending requests to a webhook endpoint associated with your michaelbrooks.co.uk account in live mode. Webhooks are used to notify your server about events that happen in your Stripe account, such as a payout completing or an invoice being created. The failing webhook endpoint is https://michaelbrooks.ghost.io/members/webhooks/stripe.

You or someone on your team has added that endpoint in your Stripe webhook settings, which you can view and edit here: Stripe Login | Sign in to the Stripe Dashboard.

Please note that in most cases a failing webhook does not impact your payments or payouts. However, if you use subscriptions we rely on your webhook endpoint to notify you of new invoices. These invoices may be delayed for up to three days if your webhook is unable to successfully receive them. If you use Checkout, you may be handling the checkout.session.completed event as part of your purchase fulfillment process as described here: Fulfill orders with Checkout | Stripe Documentation. If you do, failure to handle these events may interfere with purchase fulfillment.

We’ve attempted to notify the endpoint 12 times since February 11, 2020 at 09:50AM. If this endpoint is important to your application, please try and fix the issue. If you do not need the webhook endpoint you can delete it from your Stripe webhook settings. We will stop sending notifications to your webhook by February 20, 2020 around 09:50AM.

Here is the summary of errors we have received when sending you webhooks:

  • 12 requests had other errors while sending the webhook.

You need to return anything between a HTTP 200 to 299 for the webhook to be considered successfully delivered.
For more details on the errors, you can find your events page here: Stripe Login | Sign in to the Stripe Dashboard.

You can also always review the history of webhooks and failed request logs right from your dashboard: Stripe Login | Sign in to the Stripe Dashboard.

For more in depth information about how to use webhooks, we recommend taking a look at our documentation: Use incoming webhooks to get real-time updates | Stripe Documentation.

Yours,

The Stripe team"

Hi there! If you’re having any issue with a Ghost(Pro) site, please drop us an email on support@ghost.org and we’ll be more than happy to give you a hand directly :slight_smile: