• Resolved Jo?o Faria

    (@jffaria)


    The webhook started failing and Stripe disabled it. I checked the webhook URl by accessing it directly in the browser and I get this error: Uncaught Error: Call to private WC_Stripe::__construct() from context ‘WC_Payment_Gateways’ in /path/to/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php on line 94

    I see WC_Stripe is a singleton, not sure if it has always been one or not, but the actual payment gateway classes that Stripe adds to the woocommerce list by filtering are not singleton, so I am not sure why this class is instantiated here anyway.

    Has someone seen the same issue? Anyone has a fix?

Viewing 8 replies - 16 through 23 (of 23 total)
Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Stripe webhook failing’ is closed to new replies.