Stripe webhook failing
-
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?
- The topic ‘Stripe webhook failing’ is closed to new replies.