• Resolved RF GESTION

    (@rfgestion)


    updating to the last version generates errors and fails to recover payments from recurring payments.

    reverting to 7.2.0 resolve the issue.

    log details :

    04-14-2023 @ 11:15:22 - scheduled action 33597 (subscription payment) failed to finish processing due to the following error: Uncaught Error: Call to a member function get_meta() on bool in xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php:572
    Stack trace:
    
    0 xxx/wp-includes/class-wp-hook.php(308): WC_Stripe_Payment_Gateway->add_subscription_information_to_intent()
    
    1 xxx/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    
    2 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/abstracts/abstract-wc-stripe-payment-gateway.php(1704): apply_filters()
    
    3 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(285): WC_Stripe_Payment_Gateway->create_and_confirm_intent_for_off_session()
    
    4 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(189): WC_Stripe_Payment_Gateway->process_subscription_payment()
    
    5 xxx/wp-includes/class-wp-hook.php(308): WC_Stripe_Payment_Gateway->scheduled_subscription_payment()
    
    6 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    7 xxx/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    8 xxx/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(97): do_action()
    
    9 xxx/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(81): WC_Subscriptions_Payment_Gateways::trigger_gateway_renewal_payment_hook()
    
    10 xxx/wp-includes/class-wp-hook.php(308): WC_Subscriptions_Payment_Gateways::gateway_scheduled_subscription_payment()
    
    11 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    12 xxx/wp-includes/plugin.php(565): WP_Hook->do_action()
    
    13 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_Action.php(43): do_action_ref_array()
    
    14 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()
    
    15 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php(166): ActionScheduler_Abstract_QueueRunner->process_action()
    
    16 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php(136): ActionScheduler_QueueRunner->do_batch()
    
    17 xxx/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run()
    
    18 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    19 xxx/wp-includes/plugin.php(565): WP_Hook->do_action()
    
    20 xxx/wp-cron.php(188): do_action_ref_array()
    
    21 {main}
    
    thrown
    04-14-2023 @ 11:15:22 - action args: subscription_id: 1553
    04-14-2023 @ 13:41:13 - scheduled action 39778 (subscription payment) failed to finish processing due to the following error: Uncaught Error: Call to a member function get_meta() on bool in xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php:572
    Stack trace:
    
    0 xxx/wp-includes/class-wp-hook.php(308): WC_Stripe_Payment_Gateway->add_subscription_information_to_intent()
    
    1 xxx/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    
    2 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/abstracts/abstract-wc-stripe-payment-gateway.php(1704): apply_filters()
    
    3 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(285): WC_Stripe_Payment_Gateway->create_and_confirm_intent_for_off_session()
    
    4 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(189): WC_Stripe_Payment_Gateway->process_subscription_payment()
    
    5 xxx/wp-includes/class-wp-hook.php(308): WC_Stripe_Payment_Gateway->scheduled_subscription_payment()
    
    6 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    7 xxx/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    8 xxx/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(97): do_action()
    
    9 xxx/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(81): WC_Subscriptions_Payment_Gateways::trigger_gateway_renewal_payment_hook()
    
    10 xxx/wp-includes/class-wp-hook.php(308): WC_Subscriptions_Payment_Gateways::gateway_scheduled_subscription_payment()
    
    11 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    12 xxx/wp-includes/plugin.php(565): WP_Hook->do_action()
    
    13 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_Action.php(43): do_action_ref_array()
    
    14 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()
    
    15 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php(166): ActionScheduler_Abstract_QueueRunner->process_action()
    
    16 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php(136): ActionScheduler_QueueRunner->do_batch()
    
    17 xxx/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run()
    
    18 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    19 xxx/wp-includes/plugin.php(565): WP_Hook->do_action()
    
    20 xxx/wp-cron.php(188): do_action_ref_array()
    
    21 {main}
    
    thrown
    04-14-2023 @ 13:41:13 - action args: subscription_id: 1553
    04-14-2023 @ 14:47:35 - scheduled action 39852 (subscription payment) failed to finish processing due to the following error: Uncaught Error: Call to a member function get_meta() on bool in xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php:572
    Stack trace:
    
    0 xxx/wp-includes/class-wp-hook.php(308): WC_Stripe_Payment_Gateway->add_subscription_information_to_intent()
    
    1 xxx/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    
    2 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/abstracts/abstract-wc-stripe-payment-gateway.php(1704): apply_filters()
    
    3 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(285): WC_Stripe_Payment_Gateway->create_and_confirm_intent_for_off_session()
    
    4 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(189): WC_Stripe_Payment_Gateway->process_subscription_payment()
    
    5 xxx/wp-includes/class-wp-hook.php(308): WC_Stripe_Payment_Gateway->scheduled_subscription_payment()
    
    6 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    7 xxx/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    8 xxx/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(97): do_action()
    
    9 xxx/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(81): WC_Subscriptions_Payment_Gateways::trigger_gateway_renewal_payment_hook()
    
    10 xxx/wp-includes/class-wp-hook.php(308): WC_Subscriptions_Payment_Gateways::gateway_scheduled_subscription_payment()
    
    11 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    12 xxx/wp-includes/plugin.php(565): WP_Hook->do_action()
    
    13 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_Action.php(43): do_action_ref_array()
    
    14 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()
    
    15 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php(166): ActionScheduler_Abstract_QueueRunner->process_action()
    
    16 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php(136): ActionScheduler_QueueRunner->do_batch()
    
    17 xxx/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run()
    
    18 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    19 xxx/wp-includes/plugin.php(565): WP_Hook->do_action()
    
    20 xxx/wp-cron.php(188): do_action_ref_array()
    
    21 {main}
    
    thrown
    04-14-2023 @ 14:47:35 - action args: subscription_id: 1553
    • This topic was modified 1 year, 7 months ago by RF GESTION.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter RF GESTION

    (@rfgestion)

    04-14-2023 @ 11:15:22 - scheduled action 33597 (subscription payment) failed to finish processing due to the following error: Uncaught Error: Call to a member function get_meta() on bool in xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php:572
    Stack trace: 0 xxx/wp-includes/class-wp-hook.php(308): WC_Stripe_Payment_Gateway->add_subscription_information_to_intent() 1 xxx/wp-includes/plugin.php(205): WP_Hook->apply_filters() 2 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/abstracts/abstract-wc-stripe-payment-gateway.php(1704): apply_filters() 3 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(285): WC_Stripe_Payment_Gateway->create_and_confirm_intent_for_off_session() 4 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(189): WC_Stripe_Payment_Gateway->process_subscription_payment() 5 xxx/wp-includes/class-wp-hook.php(308): WC_Stripe_Payment_Gateway->scheduled_subscription_payment() 6 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 7 xxx/wp-includes/plugin.php(517): WP_Hook->do_action() 8 xxx/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(97): do_action() 9 xxx/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(81): WC_Subscriptions_Payment_Gateways::trigger_gateway_renewal_payment_hook() 10 xxx/wp-includes/class-wp-hook.php(308): WC_Subscriptions_Payment_Gateways::gateway_scheduled_subscription_payment() 11 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 12 xxx/wp-includes/plugin.php(565): WP_Hook->do_action() 13 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_Action.php(43): do_action_ref_array() 14 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute() 15 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php(166): ActionScheduler_Abstract_QueueRunner->process_action() 16 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php(136): ActionScheduler_QueueRunner->do_batch() 17 xxx/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run() 18 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 19 xxx/wp-includes/plugin.php(565): WP_Hook->do_action() 20 xxx/wp-cron.php(188): do_action_ref_array() 21 {main} thrown
    04-14-2023 @ 11:15:22 - action args: subscription_id: 1553
    04-14-2023 @ 13:41:13 - scheduled action 39778 (subscription payment) failed to finish processing due to the following error: Uncaught Error: Call to a member function get_meta() on bool in xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php:572
    Stack trace: 0 xxx/wp-includes/class-wp-hook.php(308): WC_Stripe_Payment_Gateway->add_subscription_information_to_intent() 1 xxx/wp-includes/plugin.php(205): WP_Hook->apply_filters() 2 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/abstracts/abstract-wc-stripe-payment-gateway.php(1704): apply_filters() 3 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(285): WC_Stripe_Payment_Gateway->create_and_confirm_intent_for_off_session() 4 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(189): WC_Stripe_Payment_Gateway->process_subscription_payment() 5 xxx/wp-includes/class-wp-hook.php(308): WC_Stripe_Payment_Gateway->scheduled_subscription_payment() 6 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 7 xxx/wp-includes/plugin.php(517): WP_Hook->do_action() 8 xxx/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(97): do_action() 9 xxx/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(81): WC_Subscriptions_Payment_Gateways::trigger_gateway_renewal_payment_hook() 10 xxx/wp-includes/class-wp-hook.php(308): WC_Subscriptions_Payment_Gateways::gateway_scheduled_subscription_payment() 11 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 12 xxx/wp-includes/plugin.php(565): WP_Hook->do_action() 13 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_Action.php(43): do_action_ref_array() 14 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute() 15 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php(166): ActionScheduler_Abstract_QueueRunner->process_action() 16 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php(136): ActionScheduler_QueueRunner->do_batch() 17 xxx/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run() 18 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 19 xxx/wp-includes/plugin.php(565): WP_Hook->do_action() 20 xxx/wp-cron.php(188): do_action_ref_array() 21 {main} thrown
    04-14-2023 @ 13:41:13 - action args: subscription_id: 1553
    04-14-2023 @ 14:47:35 - scheduled action 39852 (subscription payment) failed to finish processing due to the following error: Uncaught Error: Call to a member function get_meta() on bool in xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php:572
    Stack trace: 0 xxx/wp-includes/class-wp-hook.php(308): WC_Stripe_Payment_Gateway->add_subscription_information_to_intent() 1 xxx/wp-includes/plugin.php(205): WP_Hook->apply_filters() 2 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/abstracts/abstract-wc-stripe-payment-gateway.php(1704): apply_filters() 3 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(285): WC_Stripe_Payment_Gateway->create_and_confirm_intent_for_off_session() 4 xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(189): WC_Stripe_Payment_Gateway->process_subscription_payment() 5 xxx/wp-includes/class-wp-hook.php(308): WC_Stripe_Payment_Gateway->scheduled_subscription_payment() 6 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 7 xxx/wp-includes/plugin.php(517): WP_Hook->do_action() 8 xxx/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(97): do_action() 9 xxx/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(81): WC_Subscriptions_Payment_Gateways::trigger_gateway_renewal_payment_hook() 10 xxx/wp-includes/class-wp-hook.php(308): WC_Subscriptions_Payment_Gateways::gateway_scheduled_subscription_payment() 11 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 12 xxx/wp-includes/plugin.php(565): WP_Hook->do_action() 13 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/actions/ActionScheduler_Action.php(43): do_action_ref_array() 14 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute() 15 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php(166): ActionScheduler_Abstract_QueueRunner->process_action() 16 xxx/wp-content/plugins/imagify/inc/Dependencies/ActionScheduler/classes/ActionScheduler_QueueRunner.php(136): ActionScheduler_QueueRunner->do_batch() 17 xxx/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run() 18 xxx/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 19 xxx/wp-includes/plugin.php(565): WP_Hook->do_action() 20 xxx/wp-cron.php(188): do_action_ref_array() 21 {main} thrown
    04-14-2023 @ 14:47:35 - action args: subscription_id: 1553
    Saif

    (@babylon1999)

    Hello @rfgestion,

    updating to the last version generates errors and fails to recover payments from recurring payments.

    I understand the issue is related to the WooCommerce Subscriptions extension.

    I was unable to find any similar reports in GitHub; however, reverting to the previous release was the correct course of action.

    As this involves a premium extension, please open a ticket from WooCommerce.com > My Profile > Support.

    Make sure to include a link to this thread so we know what has been done already.

    Cheers!

    Having similar issue, just chiming in that there is a bug report on Github: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2595

    Hi @spigot

    Thanks for looking for the Github open report about this. If you have the same issue on your end, I recommend creating a separated ticket, here

    @rfgestion, I recommend you the same, for better assistance.

    Thank you.

    @ihereira I’m not sure how to use the codes your team is posting in Github, but took a solid guess based on my WC ticket number.

    https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2595#issuecomment-1512183580

    No idea if that’s helpful…

    Hi Bryan, @spigot

    I can confirm you created an internal ticket, which is #6211375, this number a reference for the developers on Github, (I can confirm you added your ticket number on Github) so that there is a record of the merchants affected by the issue. Since an internal ticket is created, our team will reply you as soon as they can.

    Kind regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘subscription recurring payment failure with 7.3.0’ is closed to new replies.