Trouble sending requests to a webhook endpoint
We've been getting emails from Stripe re webhooks (see below). We have deleted the webhooks in Stripe but they have been re-added automatically. They look correct eg https://<somedomain.org.uk>/civicrm/payment/ipn/8
Are they even needed now that we are on v6.0.1 ? I have made one off payments that show 'completed' in CiviCRM.
Hi there,
We’re contacting you because we’ve had some trouble sending requests to a webhook endpoint associated with your Interntional Society 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://<somedomain.org.uk>/civicrm/payment/ipn/8.
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 289 times since September 12, 2019 at 12:53PM. 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 21, 2019 around 12:53PM.
Here is the summary of errors we have received when sending you webhooks:
- 289 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/events.
You can also always review the history of webhooks and failed request logs right from your dashboard: https://dashboard.stripe.com/events.
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