Error on checkout
-
Hello,
When a client tried to make a purchase with credit card, there was a critical error and the order is in “Failed” status. Here are the logs from Woocommerce:
2024-01-20T05:28:55+00:00 CRITICAL Uncaught TypeError: WC_Stripe_API::detach_payment_method_from_customer(): Argument #2 ($payment_method_id) must be of type string, null given, called in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php on line 489 and defined in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php:327 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php(489): WC_Stripe_API::detach_payment_method_from_customer() #1 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php(133): WC_Stripe_Customer->delete_source() #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Intent_Controller->verify_intent() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #6 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() #7 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/xxx/public_html/wp-includes/template-loader.php(13): do_action() #10 /home/xxx/public_html/wp-blog-header.php(19): require_once('/home/xxx...') #11 /home/xxx/public_html/index.php(17): require('/home/xxx...') #12 {main} thrown en /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php en la línea 327 2024-01-20T05:29:13+00:00 CRITICAL Uncaught TypeError: WC_Stripe_API::detach_payment_method_from_customer(): Argument #2 ($payment_method_id) must be of type string, null given, called in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php on line 489 and defined in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php:327 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php(489): WC_Stripe_API::detach_payment_method_from_customer() #1 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php(133): WC_Stripe_Customer->delete_source() #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Intent_Controller->verify_intent() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #6 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() #7 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/xxx/public_html/wp-includes/template-loader.php(13): do_action() #10 /home/xxx/public_html/wp-blog-header.php(19): require_once('/home/xxx...') #11 /home/xxx/public_html/index.php(17): require('/home/xxx...') #12 {main} thrown en /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php en la línea 327 2024-01-20T05:29:15+00:00 CRITICAL Uncaught TypeError: WC_Stripe_API::detach_payment_method_from_customer(): Argument #2 ($payment_method_id) must be of type string, null given, called in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php on line 489 and defined in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php:327 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php(489): WC_Stripe_API::detach_payment_method_from_customer() #1 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php(133): WC_Stripe_Customer->delete_source() #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Intent_Controller->verify_intent() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #6 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() #7 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/xxx/public_html/wp-includes/template-loader.php(13): do_action() #10 /home/xxx/public_html/wp-blog-header.php(19): require_once('/home/xxx...') #11 /home/xxx/public_html/index.php(17): require('/home/xxx...') #12 {main} thrown en /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php en la línea 327 2024-01-20T05:29:16+00:00 CRITICAL Uncaught TypeError: WC_Stripe_API::detach_payment_method_from_customer(): Argument #2 ($payment_method_id) must be of type string, null given, called in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php on line 489 and defined in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php:327 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php(489): WC_Stripe_API::detach_payment_method_from_customer() #1 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php(133): WC_Stripe_Customer->delete_source() #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Intent_Controller->verify_intent() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #6 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() #7 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/xxx/public_html/wp-includes/template-loader.php(13): do_action() #10 /home/xxx/public_html/wp-blog-header.php(19): require_once('/home/xxx...') #11 /home/xxx/public_html/index.php(17): require('/home/xxx...') #12 {main} thrown en /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php en la línea 327 2024-01-20T05:29:18+00:00 CRITICAL Uncaught TypeError: WC_Stripe_API::detach_payment_method_from_customer(): Argument #2 ($payment_method_id) must be of type string, null given, called in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php on line 489 and defined in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php:327 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php(489): WC_Stripe_API::detach_payment_method_from_customer() #1 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php(133): WC_Stripe_Customer->delete_source() #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Intent_Controller->verify_intent() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #6 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() #7 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/xxx/public_html/wp-includes/template-loader.php(13): do_action() #10 /home/xxx/public_html/wp-blog-header.php(19): require_once('/home/xxx...') #11 /home/xxx/public_html/index.php(17): require('/home/xxx...') #12 {main} thrown en /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php en la línea 327 2024-01-20T05:29:20+00:00 CRITICAL Uncaught TypeError: WC_Stripe_API::detach_payment_method_from_customer(): Argument #2 ($payment_method_id) must be of type string, null given, called in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php on line 489 and defined in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php:327 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php(489): WC_Stripe_API::detach_payment_method_from_customer() #1 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php(133): WC_Stripe_Customer->delete_source() #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Intent_Controller->verify_intent() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #6 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() #7 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/xxx/public_html/wp-includes/template-loader.php(13): do_action() #10 /home/xxx/public_html/wp-blog-header.php(19): require_once('/home/xxx...') #11 /home/xxx/public_html/index.php(17): require('/home/xxx...') #12 {main} thrown en /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php en la línea 327 2024-01-20T05:29:22+00:00 CRITICAL Uncaught TypeError: WC_Stripe_API::detach_payment_method_from_customer(): Argument #2 ($payment_method_id) must be of type string, null given, called in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php on line 489 and defined in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php:327 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php(489): WC_Stripe_API::detach_payment_method_from_customer() #1 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php(133): WC_Stripe_Customer->delete_source() #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Intent_Controller->verify_intent() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #6 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() #7 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/xxx/public_html/wp-includes/template-loader.php(13): do_action() #10 /home/xxx/public_html/wp-blog-header.php(19): require_once('/home/xxx...') #11 /home/xxx/public_html/index.php(17): require('/home/xxx...') #12 {main} thrown en /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php en la línea 327 2024-01-20T05:29:24+00:00 CRITICAL Uncaught TypeError: WC_Stripe_API::detach_payment_method_from_customer(): Argument #2 ($payment_method_id) must be of type string, null given, called in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php on line 489 and defined in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php:327 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php(489): WC_Stripe_API::detach_payment_method_from_customer() #1 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php(133): WC_Stripe_Customer->delete_source() #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Intent_Controller->verify_intent() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #6 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() #7 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/xxx/public_html/wp-includes/template-loader.php(13): do_action() #10 /home/xxx/public_html/wp-blog-header.php(19): require_once('/home/xxx...') #11 /home/xxx/public_html/index.php(17): require('/home/xxx...') #12 {main} thrown en /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php en la línea 327 2024-01-20T05:29:25+00:00 CRITICAL Uncaught TypeError: WC_Stripe_API::detach_payment_method_from_customer(): Argument #2 ($payment_method_id) must be of type string, null given, called in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php on line 489 and defined in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php:327 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php(489): WC_Stripe_API::detach_payment_method_from_customer() #1 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php(133): WC_Stripe_Customer->delete_source() #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Intent_Controller->verify_intent() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #6 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() #7 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/xxx/public_html/wp-includes/template-loader.php(13): do_action() #10 /home/xxx/public_html/wp-blog-header.php(19): require_once('/home/xxx...') #11 /home/xxx/public_html/index.php(17): require('/home/xxx...') #12 {main} thrown en /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php en la línea 327 2024-01-20T05:29:27+00:00 CRITICAL Uncaught TypeError: WC_Stripe_API::detach_payment_method_from_customer(): Argument #2 ($payment_method_id) must be of type string, null given, called in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php on line 489 and defined in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php:327 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php(489): WC_Stripe_API::detach_payment_method_from_customer() #1 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php(133): WC_Stripe_Customer->delete_source() #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Intent_Controller->verify_intent() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #6 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() #7 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/xxx/public_html/wp-includes/template-loader.php(13): do_action() #10 /home/xxx/public_html/wp-blog-header.php(19): require_once('/home/xxx...') #11 /home/xxx/public_html/index.php(17): require('/home/xxx...') #12 {main} thrown en /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php en la línea 327 2024-01-20T05:29:29+00:00 CRITICAL Uncaught TypeError: WC_Stripe_API::detach_payment_method_from_customer(): Argument #2 ($payment_method_id) must be of type string, null given, called in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php on line 489 and defined in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php:327 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php(489): WC_Stripe_API::detach_payment_method_from_customer() #1 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php(133): WC_Stripe_Customer->delete_source() #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Intent_Controller->verify_intent() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #6 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() #7 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/xxx/public_html/wp-includes/template-loader.php(13): do_action() #10 /home/xxx/public_html/wp-blog-header.php(19): require_once('/home/xxx...') #11 /home/xxx/public_html/index.php(17): require('/home/xxx...') #12 {main} thrown en /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php en la línea 327 2024-01-20T05:29:30+00:00 CRITICAL Uncaught TypeError: WC_Stripe_API::detach_payment_method_from_customer(): Argument #2 ($payment_method_id) must be of type string, null given, called in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php on line 489 and defined in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php:327 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php(489): WC_Stripe_API::detach_payment_method_from_customer() #1 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php(133): WC_Stripe_Customer->delete_source() #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Intent_Controller->verify_intent() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #6 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() #7 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/xxx/public_html/wp-includes/template-loader.php(13): do_action() #10 /home/xxx/public_html/wp-blog-header.php(19): require_once('/home/xxx...') #11 /home/xxx/public_html/index.php(17): require('/home/xxx...') #12 {main} thrown en /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php en la línea 327 2024-01-20T05:29:33+00:00 CRITICAL Uncaught TypeError: WC_Stripe_API::detach_payment_method_from_customer(): Argument #2 ($payment_method_id) must be of type string, null given, called in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php on line 489 and defined in /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php:327 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php(489): WC_Stripe_API::detach_payment_method_from_customer() #1 /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-intent-controller.php(133): WC_Stripe_Customer->delete_source() #2 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_Stripe_Intent_Controller->verify_intent() #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() #6 /home/xxx/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax() #7 /home/xxx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/xxx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/xxx/public_html/wp-includes/template-loader.php(13): do_action() #10 /home/xxx/public_html/wp-blog-header.php(19): require_once('/home/xxx...') #11 /home/xxx/public_html/index.php(17): require('/home/xxx...') #12 {main} thrown en /home/xxx/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-api.php en la línea 327
And the error from Stripe:
"message": "A payment method of type card was expected to be present, but this PaymentIntent does not have a payment method and none was provided. Try again providing either the payment_method or payment_method_data parameters." "type": "invalid_request_error"
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Error on checkout’ is closed to new replies.