• Resolved Jeff Sherk

    (@jsherk)


    I am using v4.3.1 of WooCommerce Stripe Gateway with v3.9.1 of WooCommerce on v5.3.2 of WordPress.

    I have setup stripe webhooks (one for Live and one for Test) but they are all failing when other apps are sending out the webhooks. The webhooks succeed when I actually make the purchase on woocommerce using the woocommerce stripe gateway.

    However I have other platforms that use Stripe as well and they also use the same hooks as WC Stripe Gateway.

    So the problem is that when the Webhook Signing Secret does not match, WC Stripe Gateway is incorrectly returning a FAILED code, when in reality it should (1) ignore the webhook, and (2) return a SUCCESS code (400).

    If WC Stripe Gateway is the only webhook, then this bug does not show up because it will only be receiving webhooks with the correct signing secret. However add other webhooks to other apps that are also using stripe, and this is a HUGE bug.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jeff Sherk

    (@jsherk)

    Okay after further investigation, it has nothing to do with signing secret…

    The problem is TEST MODE.

    When Test Mode is enabled, any webhooks sent from other LIVE apps using Stripe, will FAIL.

    So regardless of whether WC Stripe Gateway is in Live mode or Test mode, it should still return a SUCCESS for any webhooks received.

    Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    Hi @jsherk – this is a duplicate topic and I responded in your other topic, so I’m going to mark this one as resolved. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘BUG in stripe webhooks’ is closed to new replies.