• Resolved webbstandard

    (@webbstandard)


    Hi!

    I’m looking for help with notifications about webhook events.

    I’d like to get an email whenever there’s a donation failure that’s technical in nature – an event that has nothing to do with whether the donor’s information is correct, but rather whether the configuration between Give and Stripe is correct.

    I do note that Stripe offers a notification option in its user settings that sends an email when there have been a bunch of webhook failures at once, but that’s not granular enough. Since Stripe sends Give all of the webhook events, and then Give lists them in its logs section, I thought there might be a way to persuade Give to notify me of certain types of events – particularly failures. I have not been able to find a way, however.

Viewing 1 replies (of 1 total)
  • Plugin Support Matheus Martins

    (@matheusfd)

    Hey @webbstandard,

    happy to clarify here.

    We do not have a way to send an email every time a webhook fails because the sending of the webhook message is done exclusively by Stripe, so, in this case, the best option is to rely on the warning from Stripe.

    But webhook failing happens when there is some misconfiguration OR the website is being cached. This is most often caused by a lack of the proper webhook (the only mechanism for sending data from Stripe to your GiveWP site) set in your Stripe account. The good news is that the fix is a few steps of copy-pasting, and we’ve documented it very thoroughly.

    The webhook endpoint is a URL that you need to copy and paste into a specific tab of the Stripe Dashboard, and then configure to receive all events.

    Our documentation (with screenshots!) on setting up the webhook is here:
    https://givewp.com/documentation/add-ons/stripe-gateway/#webhooks

    If the webhook is correctly configured, you should see a record in the logs at Donations > Tools > Logs > Stripe for every event at Stripe (going forward).
    You’ll need to manually go through and mark the older ones as complete, using your Stripe account to cross-reference.

    Double-check that webhook and let us know if you need anything else.

    Also, you need to make sure that all the pages related to GiveWP are whitelisted from your cache systems (it depends on the service you are using: a plugin or server). The URL includes:

    any page with a donation form on it and/or the donation form URL itself
    the /donation-confirmation/ page
    the /donation-failed/ page
    the /donation-history/ page
    the /recurring-donations/ page (if applicable)

    After that, clear your browser’s cache and access the donation form again.

    Please let us know if you have further questions on this or need any additional assistance!

Viewing 1 replies (of 1 total)
  • The topic ‘Notifications for Stripe webhook failures’ is closed to new replies.