• Resolved Ingrid Moyle

    (@heartharmony)


    We received an email from Stripe

    We’re contacting you because we’ve had some trouble sending requests to a webhook endpoint associated with your Hills & Districts Chamber of Commerce account in live mode.

    <etc etc stuff in the middle>

    We’ve attempted to notify the endpoint 338 times since December 3, 2019 at 01:29AM. 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 December 12, 2019 around 01:29AM.

    Here is the summary of errors we have received when sending you webhooks:
    * 338 requests returned HTTP 503, which is an indicator of a server error on your end.

    I have been in touch with the host who have checked the server error logs and it has come up clear. They said to contact Stripe.

    I contacted Stripe who said it wasn’t their problem and to contact the host.

    I have debugging enabled on the Stripe plugin and there are no logs or fatal errors showing in the logs.

    The site has been operating for just on a year with the API endpoints and keys not changing in that time. We only started having problems just after the latest WooCommerce update after 2 December.

    The site is running PHP 7.3, the latest versions of WP 5.3 and WooCommerce 3.8.1. We also use WooCommerce Memberships, Subscriptions and WooCommerce Teams along with a stack of other things.

    Any ideas?

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @heartharmony,

    Initially it sounds like the URL found via WooCommerce > Settings > Payments > Stripe > Webhook Endpoints you’ve added to Stripe via https://dashboard.stripe.com/account/webhooks may possibly not match this screen from your Stripe settings exactly:

    Image Link: https://cloudup.com/c1rwp3fhOKN

    Can you please double-check that those match to be sure? We’ve also sometimes seen certain plugins like security plugins preventing webhooks from working as expected too!

    Same issue here, everything was working fine and stopped working since the last update. I’ve double checked (even deleted and re-added the webhook) and the issue persists.

    I just want to say I’m having the same issue as well. I did start a new post myself before this one was made, but I want bump this thread as well as I think this issue is affecting many users.

    Thread Starter Ingrid Moyle

    (@heartharmony)

    I deleted and re-added the webhook (which had been working perfectly fine for a year before the 2nd December), and there was no change.

    If it helps, we use the paid version of Wordfence on the site.

    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @heartharmony,

    Do you notice any change if you temporarily deactivate WordFence on your site as when cross-testing today for us I’ve not personally been able to replicate the behaviour as yet on my test installs using the latest version of Stripe which is rather frustrating?

    @squaredpx @davemclean Thanks for contributing to the conversation and if you revert to the previous version of Stripe does the behaviour persist for either of you?

    https://github.com/woocommerce/woocommerce-gateway-stripe/releases

    Note: There was also another topic related to this from @davemclean which I’ve set to resolved so we can all communicate within this one to save any duplicate replies.

    Thanks

    Thread Starter Ingrid Moyle

    (@heartharmony)

    Hey Stuart

    Stripe had deactivated the webhook endpoint on the account due to repeated failures, so I re-enabled it prior to testing.

    The message we received on the deactivation was:

    “Here is the summary of errors we have received when sending you webhooks:
    * 43 requests returned HTTP 503, which is an indicator of a server error on your end.”

    I deactivated Wordfence and then tested re-sending a few of the failed webhook attempts. This time they showed as succeeded on the Stripe dashboard webhook attempts log.

    However, when I refreshed the Stripe dashboard page, they went back to displaying as failed.

    If I tried resending the attempt again, then the ones that previously showed as succeeded when resent re-appeared as successful, but then revert back to failed when the page is refreshed and the webhook attempts log filtered.

    Anything else I should test?

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Thanks for doing those tests – it can take a few minutes for the webhooks to update.

    From here, I’m wondering about two different things:

    1. Is any information showing up in the Stripe log?

    Please make sure logging is enabled under WooCommerce > Settings > Payment > Stripe and then try resending the webhooks. Check to see if anything shows up under WooCommerce > Status > Logs, selecting the Stripe log from the dropdown in the top right.

    2. Could this be a plugin conflict?

    You mentioned that things worked (briefly) when you disabled WordFence. I’m wondering if there are other plugins that might be interfering. It’s worth ruling out as a potential cause. You can find a more detailed explanation on how to do a conflict test here.

    Please do let us know how those tests go!

    Thread Starter Ingrid Moyle

    (@heartharmony)

    Solved it.

    The site had been getting spammed silly via the contact form and Recaptcha3 was making no difference, so with Wordfence Pro we had tweaked the settings to block access not only to the login form but the whole site for certain countries. This must have included the country where Stripe’s servers were located, triggering the webhook issue, and the hosting server cache was adding to the woes.

    Glad to have this bit resolved at least – now to find an alternative for the spam issue.

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    I’m so glad to hear you found it – thanks for letting us know, as well as what the solution was!

    Thanks for your info Ingrid. I’ll try to look at it as we aren’t using Wordfence. I’ve downgraded to the previous plugin release but the issue persist.

    Deleting and re-adding the webhook secret key seems to work, ?I’ve just done it and for now it’s working. Thanks for the support.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Webhook Endpoint Error Email from Stripe’ is closed to new replies.