• Resolved kingfisher64

    (@kingfisher64)


    Hello, we are receiving notifications via stripe that the plugin webhook is erroring out. I spoke to Stripe regarding this and they believe it’s in the plugin ??

    Is there somewhere i can provide this information privately for you to check?

    Kind regards and thank you for your time.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @kingfisher64

    The plug-in would not be the reason your webhook fails. There are typically only two reasons the webhook would fail.

    The first one is either your webhook secret that you entered in the plug-in settings is incorrect or you have a third-party authentication plug-in that is restricting access to the WordPress rest API.

    If you go to the API settings page of the Stripe plugin you can simply click the create webhook button which is completely automated and removes any human error that could be caused from copying and pasting your webhook secret.

    If it continues to fail check the Stripe webhook logs and there will be a response with some info about why it failed. That information will help track down the reason for the failure.

    Kind regards

    Thread Starter kingfisher64

    (@kingfisher64)

    Hello,

    I did do as you suggested upon initial setup and clicked create webhook button.

    Entered it manually this time just in case.

    When clicking test connection both succeeded the webhook secret was entered on the Settings API page. We’ve had no issues with taking payments but I understand that is a different thing altogether than webhook notifications.

    I’ve checked the log and there’s nothing in there for the last 5 days and we’ve been getting this error since ??

    It does say 79% error failure rate in Stripe developer section.

    Thanks for your quick reply. I guess I’ll have to find out if there’s a third party plugin interferring.

    Plugin Author Payment Plugins

    (@mrclayton)

    It does say 79% error failure rate in Stripe developer section.

    what do the error logs say about the reason for the failed webhook? That will help track down the cause.

    Each response is recorded in the stripe.com logs.

    Kind Regards,

    Thread Starter kingfisher64

    (@kingfisher64)

    It says POST /v1/payment_methods, 402 ERR in the stripe log.

    Thanks.

    Plugin Author Payment Plugins

    (@mrclayton)

    @kingfisher64 that’s not a log entry for the webhooks. The Webhook url is /v1/wc-stripe/webhook.

    You’ll need to go to the webhook section within Stripe to view those specific failure logs.

    Thread Starter kingfisher64

    (@kingfisher64)

    Okay, so going to webhooks > wc-stripe/v1/webhook > failed shows 2 types of errors from:

    charge.succeeded
    payment_intent.succeeded

    “404 – the webhook delivery failed but another attempt succeeded”
    “404 – this webook delivery failed. All automatic retries have been exhausted. no more attempts to deliver this event will be made.

    Plugin Author Payment Plugins

    (@mrclayton)

    You should be able to click on those failures and see the actual response you got from your website.

    If not just toggle “test” mode in stripe.com and send a test webhook notification and provide the response here.

    Kind regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Webhook Error’ is closed to new replies.