Fatal Error when changing order status
-
When changing an order status in Woocommerce from Pending Payment to Completed manually, the following error is thrown when saving.
The new order status does save however.This is with WC 4.0, latest WordPress. Woocommerce bookings & accommodation bookings are also active.
[17-Mar-2020 16:53:44 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WP_Error::capture() in /wp-content/plugins/woo-stripe-payment/includes/class-wc-stripe-gateway.php:156 Stack trace: #0 /wp-content/plugins/woo-stripe-payment/includes/abstract/abstract-wc-payment-gateway-stripe-payment-intent.php(200): WC_Stripe_Gateway->capture_payment_intent(NULL, Array, '') #1 /wp-content/plugins/woo-stripe-payment/includes/wc-stripe-functions.php(245): WC_Payment_Gateway_Stripe_Payment_Intent->capture_charge('360.00', Object(Automattic\WooCommerce\Admin\Overrides\Order)) #2 /wp-includes/class-wp-hook.php(288): wc_stripe_order_status_completed(12414, Object(Automattic\WooCommerce\Admin\Overrides\Order)) #3 /wp-includes/class-wp-hook.php(312): WP_Hook->app in /wp-content/plugins/woo-stripe-payment/includes/class-wc-stripe-gateway.php on line 156
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Fatal Error when changing order status’ is closed to new replies.