[Stripe] Trouble to deliver data to a webhook endpoint (notification)

I’m a little bit ashamed to post as often here…
I received a Stripe notification about the webhook.
I don’t know if it’s normal or important to solved it, so I prefer share it with you Mark :

Hi there,

We’re contacting you because we’re still having trouble delivering data to a webhook endpoint associated with your Cookooling account in test 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://domain.com/assets/components/commerce/notify.php?method=4.

You or someone on your team has added that endpoint in your Stripe webhook settings, which you can view and edit here: https://dashboard.stripe.com/account/webhooks.

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: https://stripe.com/docs/payments/checkout/fulfillment#webhooks. If you do, failure to handle these events may interfere with purchase fulfillment.

We’ve attempted to notify the endpoint 8 times since August 29, 2019 at 04:00PM. 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 September 7, 2019 around 04:00PM.

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

  • 8 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: https://dashboard.stripe.com/test/events.

You can also always review the history of webhooks and failed request logs right from your dashboard: https://dashboard.stripe.com/test/events.

This email is the last time we’ll reach out to you before disabling the webhook.

For more in depth information about how to use webhooks, we recommend taking a look at our documentation: https://stripe.com/docs/webhooks.

Yours,

The Stripe team

Don’t be ashamed :wink: Here to help.

Webhooks do need to be functional so this is an important warning. There are some legitimate cases where errors can be ignored but it can also be a serious problem.

From what you’ve provided I can’t tell if this is a problem or not. Look at the transaction log for an order that was paid with stripe - does that include the webhook confirmation? What does the MODX error log say about webhook requests? What are the errors shown in the Stripe events log?

If you want me to look at it, I would need both manager access to the site and access to your stripe account to be able of cross-referencing things. That would be better handled through support@modmore.com.