• Resolved Kaleem Abbasi

    (@kaleemabbasi)


    <span style="background-color: rgb(238, 238, 238); color: rgb(60, 67, 74); font-family: monospace; font-size: 13px;">05-04-2023 @ 13:09:58 - scheduled action 1103927 (subscription payment) failed to finish processing due to the following error: Uncaught Error: Call to undefined method WooCommerce\Square\Framework\PaymentGateway\PaymentTokens\Square_Credit_Card_Payment_Token::get_last_four() in /nas/content/live/calmbywellness/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Integrations/Payment_Gateway_Integration_Subscriptions.php:274</span>
    Stack trace:
    #0 /nas/content/live/calmbywellness/wp-includes/class-wp-hook.php(310): WooCommerce\Square\Framework\PaymentGateway\Integrations\Payment_Gateway_Integration_Subscriptions->get_order(Object(WC_Order))
    #1 /nas/content/live/calmbywellness/wp-includes/plugin.php(205): WP_Hook->apply_filters(Object(WC_Order), Array)
    #2 /nas/content/live/calmbywellness/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway_Direct.php(509): apply_filters('wc_payment_gate...', Object(WC_Order), Object(WooCommerce\Square\Gateway))
    #3 /nas/content/live/calmbywellness/wp-content/plugins/woocommerce-square/includes/Gateway.php(276): WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway_Direct->get_order(4762810)
    #4 /nas/content/live/calmbywellness/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway_Direct.php(278): WooCommerce\Square\Gateway->get_order(4762810)
    #5 /nas/content/live/calmbywellness/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Integrations/Payment_Gateway_Integration_Subscriptions.php(235): WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway_Direct->process_payment(4762810)
    #6 /nas/content/live/calmbywellness/wp-includes/class-wp-hook.php(308): WooCommerce\Square\Framework\PaymentGateway\Integrations\Payment_Gateway_Integration_Subscriptions->process_renewal_payment('29.99', Object(WC_Order))
    #7 /nas/content/live/calmbywellness/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #8 /nas/content/live/calmbywellness/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #9 /nas/content/live/calmbywellness/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(97): do_action('woocommerce_sch...', '29.99', Object(WC_Order))
    #10 /nas/content/live/calmbywellness/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(81): WC_Subscriptions_Payment_Gateways::trigger_gateway_renewal_payment_hook(Object(WC_Order))
    #11 /nas/content/live/calmbywellness/wp-includes/class-wp-hook.php(308): WC_Subscriptions_Payment_Gateways::gateway_scheduled_subscription_payment(4760945)
    #12 /nas/content/live/calmbywellness/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #13 /nas/content/live/calmbywellness/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #14 /nas/content/live/calmbywellness/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_Action.php(43): do_action_ref_array('woocommerce_sch...', Array)
    #15 /nas/content/live/calmbywellness/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()
    #16 /nas/content/live/calmbywellness/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(166): ActionScheduler_Abstract_QueueRunner->process_action(1103927, 'WP Cron')
    #17 /nas/content/live/calmbywellness/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(136): ActionScheduler_QueueRunner->do_batch(100, 'WP Cron')
    #18 /nas/content/live/calmbywellness/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run('WP Cron')
    #19 /nas/content/live/calmbywellness/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #20 /nas/content/live/calmbywellness/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #21 /nas/content/live/calmbywellness/wp-cron.php(188): do_action_ref_array('action_schedule...', Array)
    #22 {main}
      thrown
    05-04-2023 @ 13:09:58 - action args: subscription_id: 4760945
    05-04-2023 @ 13:14:49 - scheduled action 1103940 (subscription payment) failed to finish processing due to the following error: Uncaught Error: Call to undefined method WooCommerce\Square\Framework\PaymentGateway\PaymentTokens\Square_Credit_Card_Payment_Token::get_last_four() in /nas/content/live/calmbywellness/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Integrations/Payment_Gateway_Integration_Subscriptions.php:274
    Stack trace:
    #0 /nas/content/live/calmbywellness/wp-includes/class-wp-hook.php(310): WooCommerce\Square\Framework\PaymentGateway\Integrations\Payment_Gateway_Integration_Subscriptions->get_order(Object(WC_Order))
    #1 /nas/content/live/calmbywellness/wp-includes/plugin.php(205): WP_Hook->apply_filters(Object(WC_Order), Array)
    #2 /nas/content/live/calmbywellness/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway_Direct.php(509): apply_filters('wc_payment_gate...', Object(WC_Order), Object(WooCommerce\Square\Gateway))
    #3 /nas/content/live/calmbywellness/wp-content/plugins/woocommerce-square/includes/Gateway.php(276): WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway_Direct->get_order(4762811)
    #4 /nas/content/live/calmbywellness/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Payment_Gateway_Direct.php(278): WooCommerce\Square\Gateway->get_order(4762811)
    #5 /nas/content/live/calmbywellness/wp-content/plugins/woocommerce-square/includes/Framework/PaymentGateway/Integrations/Payment_Gateway_Integration_Subscriptions.php(235): WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway_Direct->process_payment(4762811)
    #6 /nas/content/live/calmbywellness/wp-includes/class-wp-hook.php(308): WooCommerce\Square\Framework\PaymentGateway\Integrations\Payment_Gateway_Integration_Subscriptions->process_renewal_payment('69.99', Object(WC_Order))
    #7 /nas/content/live/calmbywellness/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #8 /nas/content/live/calmbywellness/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #9 /nas/content/live/calmbywellness/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(97): do_action('woocommerce_sch...', '69.99', Object(WC_Order))
    #10 /nas/content/live/calmbywellness/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(81): WC_Subscriptions_Payment_Gateways::trigger_gateway_renewal_payment_hook(Object(WC_Order))
    #11 /nas/content/live/calmbywellness/wp-includes/class-wp-hook.php(308): WC_Subscriptions_Payment_Gateways::gateway_scheduled_subscription_payment(4759152)
    #12 /nas/content/live/calmbywellness/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #13 /nas/content/live/calmbywellness/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #14 /nas/content/live/calmbywellness/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_Action.php(43): do_action_ref_array('woocommerce_sch...', Array)
    #15 /nas/content/live/calmbywellness/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()
    #16 /nas/content/live/calmbywellness/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(166): ActionScheduler_Abstract_QueueRunner->process_action(1103940, 'WP Cron')
    #17 /nas/content/live/calmbywellness/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php(136): ActionScheduler_QueueRunner->do_batch(100, 'WP Cron')
    #18 /nas/content/live/calmbywellness/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run('WP Cron')
    #19 /nas/content/live/calmbywellness/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #20 /nas/content/live/calmbywellness/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #21 /nas/content/live/calmbywellness/wp-cron.php(188): do_action_ref_array('action_schedule...', Array)
    #22 {main}
      thrown
    05-04-2023 @ 13:14:49 - action args: subscription_id: 4759152

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘There is a Bug in New Update’ is closed to new replies.