Fatal error on adding payment method when plugin active
-
Hi,
Recently i’ve encountered a critical error with the “add payment method” feature in a customer’s account. It triggers a wordpress critical error each time someone tries to add a payment method from the account dashboard. This error is only triggerd when the Conditional Payments for WooCommerce plugin is active (i tested on a staging site, and with all other plugins deactivated except woocommerce and woocommerce stripe gateway, the error occured only when Conditional Payments for WooCommerce plugin was activated, so i guess that there is some compatibility issue happening there.Do you know more aboute this issue ?
Please find hereafter the query monitor debug info :
Fatal error: Uncaught Exception: Invalid or missing payment token fields.
in /www/mylivhaorg_188/public/wp-content/plugins/woocommerce/includes/data-stores/class-wc-payment-token-data-store.php on line 44Call stack:
WC_Payment_Token_Data_Store::create()
wp-content/plugins/woocommerce/includes/class-wc-data-store.php:169
WC_Data_Store::create()
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:218
WC_Data::save()
wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-customer.php:300
WC_Stripe_Customer::add_source()
wp-content/plugins/woocommerce-gateway-stripe/includes/abstracts/abstract-wc-stripe-payment-gateway.php:958
WC_Stripe_Payment_Gateway::add_payment_method()
wp-content/plugins/woocommerce/includes/class-wc-form-handler.php:525
WC_Form_Handler::add_payment_method_action()
wp-includes/class-wp-hook.php:287
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:311
WP_Hook::do_action()
wp-includes/plugin.php:551
do_action_ref_array()
wp-includes/class-wp.php:758
WP::main()
wp-includes/functions.php:1291
wp()
wp-blog-header.php:16
require()
index.php:17
Query MonitorThanks for your help,
kind regareds
CyrilleThe page I need help with: [log in to see the link]
- The topic ‘Fatal error on adding payment method when plugin active’ is closed to new replies.