Problem with your Stripe webhook

This topic contains 5 replies, has 2 voices, and was last updated by  Stiofan O’Connor 6 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #1304

    sonya farrall
    Buyer
    Post count: 25

    Hi

    I have copied and pasted the webhook into Stripe, but I am getting the below issue. What am I missing?

    I got the webhook from invoicing > settings > Payment Gateways > Stripe.
    https://www.babababoon.co.uk/index.php?wpi-listener=IPN&wpi-gateway=stripe

    And I have pasted it into Stripe at https://dashboard.stripe.com/account/webhooks

    Hi there,

    We’re contacting you because the webhook endpoint associated with your babababoon.co.uk account in live mode has been failing for five consecutive days. 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://www.babababoon.co.uk/index.php?wpi-listener=IPN&wpi-gateway=stripe.

    We have disabled your webhook endpoint so it will no longer receive these events from Stripe. If you’d like to re-enable your endpoint once you’ve fixed the problem, you can do so by clicking the ‘Enable’ button for the webhook in your Stripe settings: https://dashboard.stripe.com/account/webhooks.

    One recent call to your endpoint returned an HTTP status code 403, However, our webhook systems only treats a webhook as successful if we get back a status code between 200 and 299. You can view the event for this failed notification here: https://dashboard.stripe.com/events/evt_1C8kqmEXYjjQLyBIAHVBQIiU. To acknowledge receipt of a webhook, your endpoint should return a 2xx HTTP status code.

    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

    #1305

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    It is telling us that your server is returning a 403 code, maybe ask your server admin the reason for this.

    Can you past some of the failed notifications here in a private reply.

    Thanks,

    Stiofan

    #1310

    sonya farrall
    Buyer
    Post count: 25
    This reply has been marked as private.
    #1312

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    That request above seems to have worked not failed, so it must be working for some. Can you narrow down what type of messages are not working?

    Stiofan

    #1313

    sonya farrall
    Buyer
    Post count: 25

    This is the bit I really don’t understand, as there are only two payments that have gone through and both are mine and both seemed to work fine.

    But, when I look in Stripe logs, there are no error codes. But in the Stripe Events the older transactions have the webhook message with the signal icon. I get that as they had the test domain url in there. But the newer transaction didn’t.

    I will enable the Webhook and try and put another payment through and see if the client receives another error message.

    Unless you can make any other suggestions.

    #1316

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Sonya,

    I think the problem is that stripe is sending all hooks and WPI is not setup to respond to all of them, only certain ones, so the ones it needs seem to be working but the ones it does not need are showing as failed, i think we already implemented a fix for this but it has not been released yet, the next release should stop the errors.

    Thanks,

    Stiofan

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket