Error on checkout with subscription product
-
I’m using your Stripe WooCommerce plugin and getting the following error when completing a purchase of a product of type “Simple Subscription”. I grepped for wcs_is_manual_renewal_enabled() function and do not see it defined anywhere. Do you have any input on a fix for this? I’m using your plugin in conjunction with Subscriptions for WooCommerce by Webtoffee.
PHP Fatal error: Uncaught Error: Call to undefined function PaymentPlugins\\Stripe\\WooCommerceSubscriptions\\Controllers\\wcs_is_manual_renewal_enabled() in /var/www/fsf/wp-content/plugins/woo-stripe-payment/packages/subscriptions/src/Controllers/PaymentIntent.php:67
Stack trace:
#0 /var/www/fsf/wp-includes/class-wp-hook.php(324): PaymentPlugins\\Stripe\\WooCommerceSubscriptions\\Controllers\\PaymentIntent->is_subscription_mode(
#1 /var/www/fsf/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /var/www/fsf/wp-content/plugins/woo-stripe-payment/src/Controllers/PaymentIntent.php(118): apply_filters()
#3 /var/www/fsf/wp-content/plugins/woo-stripe-payment/src/Controllers/PaymentIntent.php(79): PaymentPlugins\\Stripe\\Controllers\\PaymentIntent->is_subscription_mode(
#4 /var/www/fsf/wp-content/plugins/woo-stripe-payment/includes/gateways/class-wc-payment-gateway-stripe-cc.php(164): PaymentPlugins\\Stripe\\Controllers\\PaymentIntent->get_element_options()
#5 /var/www/fsf/wp-content/plugins/woo-stripe-payment/packages/blocks/src/Payments/AbstractStripePayment.php(84): WC_Payment_Gateway_Stripe_CC->get_element_options()
#6 /var/www/fsf/wp-content/plugins/woo-stripe-payment/packages/blocks/src/Payments/Gateways/CreditCardPayment.php(60): PaymentPlugins\\Blocks\\Stripe\\Payments\\AbstractStripePayment->get_payment_method_data()
#7 /var/www/fsf/wp-content/plugins/woocommerce/src/Blocks/Payments/PaymentMethodRegistry.php(62): PaymentPlugins\\Blocks\\Stripe\\Payments\\Gateways\\CreditCardPayment->get_payment_method_data(
#8 /var/www/fsf/wp-content/plugins/woocommerce/src/Blocks/Payments/Api.php(92): Automattic\\WooCommerce\\Blocks\\Payments\\PaymentMethodRegistry->get_all_registered_script_data()
#9 /var/www/fsf/wp-includes/class-wp-hook.php(324): Automattic\\WooCommerce\\Blocks\\Payments\\Api->add_payment_method_script_data()
#10 /var/www/fsf/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#11 /var/www/fsf/wp-includes/plugin.php(517): WP_Hook->do_action()
#12 /var/www/fsf/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/Cart.php(265): do_action()
#13 /var/www/fsf/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(416): Automattic\\WooCommerce\\Blocks\\BlockTypes\\Cart->enqueue_data()
#14 /var/www/fsf/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/Cart.php(147): Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock->enqueue_assets()
#15 /var/www/fsf/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(96): Automattic\\WooCommerce\\Blocks\\BlockTypes\\Cart->enqueue_assets()
#16 /var/www/fsf/wp-includes/class-wp-block.php(537): Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock->render_callback()
#17 /var/www/fsf/wp-includes/blocks.php(2190): WP_Block->render()
#18 /var/www/fsf/wp-includes/blocks.php(2242): render_block()
#19 /var/www/fsf/wp-includes/class-wp-hook.php(324): do_blocks()
#20 /var/www/fsf/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#21 /var/www/fsf/wp-includes/post-template.php(256): apply_filters()
#22 /var/www/fsf/wp-content/themes/Avada/page.php(24): the_content()
#23 /var/www/fsf/wp-includes/template-loader.php(106): include('...')
#24 /var/www/fsf/wp-blog-header.php(19): require_once('...')
#25 /var/www/fsf/index.php(17): require('...')
#26 {main} thrown in /var/www/fsf/wp-content/plugins/woo-stripe-payment/packages/subscriptions/src/Controllers/PaymentIntent.php on line 67, referer: https://fsf.com/my-account/
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.