• Resolved scarpaweb

    (@scarpaweb)


    We are still seeing payment failed errors when users select to pay for a course through the WooCommerce PayPal gateway. Error message:

    “The subscription payment failed because the payment method could not be saved. Please try again with a different payment method.”

    I have submitted the status log and screenshots through email but have not received a response. Please help

    Thanks!

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter scarpaweb

    (@scarpaweb)

    PayPal for WooCommerce Log

    2023-07-24T00:36:28+00:00 CRITICAL Uncaught Error: Call to a member function get_id() on bool in /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/lifterlms-assignments/includes/functions-llms-assignments-templates.php:163
    Stack trace: 0 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/class-wp-hook.php(308): llms_assignments_after_start_quiz_buttons(”) 1 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) 2 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 3 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/lifterlms/templates/quiz/start-button.php(81): do_action(‘lifterlms_after…’) 4 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/lifterlms/includes/functions/llms.functions.template.php(120): include(‘/chroot/home/ae…’) 5 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/lifterlms/includes/functions/llms.functions.templates.quizzes.php(217): llms_get_template(‘quiz/start-butt…’) 6 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/class-wp-hook.php(308): lifterlms_template_start_button(”) 7 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 8 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 9 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/lifterlms/templates/content-single-quiz-after.php(11): do_action(‘lifterlms_singl…’) 10 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/template.php(785): require(‘/chroot/home/ae…’) 11 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/lifterlms/includes/functions/llms-functions-content.php(56): load_template(‘/chroot/home/ae…’, false) 12 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/class-wp-hook.php(308): llms_get_post_content(‘

    Welcome to t…’) 13 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘

    Welcome to t…’, Array) 14 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/formatting.php(3928): apply_filters(‘the_content’, ‘

    Welcome to t…’) 15 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/class-wp-hook.php(308): wp_trim_excerpt(‘

    Welcome to t…’, Object(WP_Post)) 16 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/plugin.php(205): WP_Hook->apply_filters(”, Array) 17 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/post-template.php(431): apply_filters(‘get_the_excerpt’, ”, Object(WP_Post)) 18 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/post-template.php(396): get_the_excerpt() 19 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor-pro/modules/posts/skins/skin-base.php(965): the_excerpt() 20 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor-pro/modules/posts/skins/skin-base.php(1281): ElementorPro\Modules\Posts\Skins\Skin_Base->render_excerpt() 21 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor-pro/modules/posts/skins/skin-base.php(876): ElementorPro\Modules\Posts\Skins\Skin_Base->render_post() 22 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor-pro/modules/theme-builder/skins/posts-archive-skin-base.php(54): ElementorPro\Modules\Posts\Skins\Skin_Base->render() 23 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor/includes/base/skin-base.php(79): ElementorPro\Modules\ThemeBuilder\Skins\Posts_Archive_Skin_Classic->render() 24 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor/includes/base/widget-base.php(607): Elementor\Skin_Base->render_by_mode() 25 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content() 26 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Widget_Base->print_content() 27 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor/includes/base/element-base.php(1354): Elementor\Element_Base->print_element() 28 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Element_Base->print_content() 29 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor/includes/base/element-base.php(1354): Elementor\Element_Base->print_element() 30 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Element_Base->print_content() 31 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor/core/base/document.php(1711): Elementor\Element_Base->print_element() 32 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(418): Elementor\Core\Base\Document->print_elements(Array) 33 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor/includes/frontend.php(1179): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_elements_with_wrapper(Array) 34 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor/core/base/document.php(1155): Elementor\Frontend->get_builder_content(189, false) 35 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor/modules/library/documents/library-document.php(76): Elementor\Core\Base\Document->get_content(false) 36 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(158): Elementor\Modules\Library\Documents\Library_Document->get_content(false) 37 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(173): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_content() 38 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(315): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_content() 39 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(191): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->do_location(‘archive’) 40 [internal function]: ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->ElementorPro\Modules\ThemeBuilder\Classes{closure}() 41 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor/modules/page-templates/module.php(207): call_user_func(Object(Closure)) 42 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(19): Elementor\Modules\PageTemplates\Module->print_content() 43 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-includes/template-loader.php(106): include(‘/chroot/home/ae…’) 44 /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-blog-header.php(19): require_once(‘/chroot/home/ae…’) 45 /chroot/home/ae328251/f63c153390.nxcli.net/html/index.php(17): require(‘/chroot/home/ae…’) 46 {main}

    thrown in /chroot/home/ae328251/f63c153390.nxcli.net/html/wp-content/plugins/lifterlms-assignments/includes/functions-llms-assignments-templates.php on line 163

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @scarpaweb

    The last message sent out by our support team seemingly was read. Can you please check again, e.g. in your spam inbox?

    In any case, this error log you shared looks like it’s originating in the LifterLMS plugin and should be unrelated to PayPal Payments or how it works regarding subscriptions.

    For subscription support, the PayPal Payments plugin implements the?Vaulting feature, which requires the activation of?Reference Transactions (or Vault-approval) on your PayPal account.
    You can learn more about subscription requirements in?the plugin documentation:?PayPal Payments Subscriptions FAQ

    At this time, the Vaulting feature is disabled on your site, meaning payment methods wouldn’t be saved at PayPal. As a result, the subscription payment would fail due to the default configuration of the ?the?Subscription capture behavior if Vault fails?setting.

    I hope this helps explain the requirements better. Please let us know if any questions remain after reviewing the linked docs. Thanks!

    Kind regards,
    Niklas

    Thread Starter scarpaweb

    (@scarpaweb)

    Thank you Niklas. I modified the Vault setting to “Capture payment and disregard payment method.”
    I will follow-up tomorrow to see if any additional payment errors come through.

    Nick

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi Nick,

    Thanks! Please let us know if any questions remain. As it appears that the team is working with you to clarify the subscription requirements through a separate channel, I’ll mark this thread resolved for now. But feel free to reopen it if you’d like to share any other questions with the community.

    Just so you are aware: The team is working on integrating the PayPal Subscriptions API as an experimental feature.
    This feature is primarily interesting for merchants who are not enabled for Reference Transactions but would like to utilize PayPal for automatic recurring payments. While it is still early, this feature can already be tested on staging sites with the latest plugin versions, but it’s not yet meant for use on production sites.

    Kind regards,
    Niklas

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WooCommerce PayPal Payments Fail’ is closed to new replies.