Stripe payment successful but order not marked as paid
-
Hi,
I have the WooCommerce Stripe Gateway installed, fully connected and Stripe is accepting payments (I see the payment made in Stripe anb I receive success emails about payments made)… but WooCommerce does not mark the order as paid.
I see the following notice/error in WooCommerce logs.
Would anyone please know what is causing the error and how to solve this?
2022-12-08T15:30:23+00:00 CRITICAL Uncaught Error: Attempt to modify property "data" on null in /www/doc/www.mydomain.com/www/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-webhook-handler.php:848 Stack trace: #0 /www/doc/www.mydomain.com/www/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-webhook-handler.php(990): WC_Stripe_Webhook_Handler->process_payment_intent_success(Object(stdClass)) #1 /www/doc/www.mydomain.com/www/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-webhook-handler.php(70): WC_Stripe_Webhook_Handler->process_webhook('{\n "id": "evt_...') #2 /www/doc/www.mydomain.com/www/wp-includes/class-wp-hook.php(308): WC_Stripe_Webhook_Handler->check_for_webhook('') #3 /www/doc/www.mydomain.com/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #4 /www/doc/www.mydomain.com/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /www/doc/www.mydomain.com/www/wp-content/plugins/woocommerce/includes/class-wc-api.php(161): do_action('woocommerce_api...') #6 /www/doc/www.mydomain.com/www/wp-includes/class-wp-hook.php(308): WC_API->handle_api_requests(Object(WP)) #7 /www/doc/www.mydomain.com/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #8 /www/doc/www.mydomain.com/www/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #9 /www/doc/www.mydomain.com/www/wp-includes/class-wp.php(399): do_action_ref_array('parse_request', Array) #10 /www/doc/www.mydomain.com/www/wp-includes/class-wp.php(780): WP->parse_request('') #11 /www/doc/www.mydomain.com/www/wp-includes/functions.php(1332): WP->main('') #12 /www/doc/www.mydomain.com/www/wp-blog-header.php(16): wp() #13 /www/doc/www.mydomain.com/www/index.php(17): require('/www/doc/www.ja...') #14 {main} thrown v /www/doc/www.mydomain.com/www/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-webhook-handler.php on line 848
Would anyone know what is causing this?
In iThemes Security, I have REST API set to Restricted Access and disapled XML-RPC.
I am running this on WordPress 6.1.1 and WoCommerce 7.1.1 and WooCommerce Stripe Gateway 7.0.1
- The topic ‘Stripe payment successful but order not marked as paid’ is closed to new replies.