• Hello guys,
    i hereby come to ask some help.

    I use learnpress and woocommerce to sell courses on my website.
    I cannot use stripe for payment because i have the following error:

    PHP Fatal error: Uncaught Error: Call to a member function is_required_enroll() on bool in /var/www/html/wp-content/plugins/learnpress/inc/user/abstract-lp-user.php:2418\n

    Stack trace:\n
    #0 /var/www/html/wp-content/plugins/manca-lp-wc-integration/admin/enrollment-sync.php(60): LP_Abstract_User->enroll(5357, 5409, true)\n
    #1 /var/www/html/wp-includes/class-wp-hook.php(290): lpwci_lp_enroll_on_wc_payment_complete(5407)\n
    #2 /var/www/html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)\n
    #3 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)\n
    #4 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-order.php(363): do_action(‘woocommerce_ord…’, 5407, Object(Automattic\\WooCommerce\\Admin\\Overrides\\Order))\n
    #5 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-order.php(221): WC_Order->status_transition()\n
    #6 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-order.php(119): WC_Order->save()\n
    #7 /var/www/html/wp-content/plugins/woocommerce-gateway-stripe/includes/abstract in /var/www/html/wp-content/plugins/learnpress/inc/user/abstract-lp-user.php on line 2418, referer: https://eazytraining.fr/finaliser-votre-commande/

    We will assume that we can make payments via woocommerce paypal gateway.
    The issue is related to woocommerce stripe gateway.

    We also assume that there is another shop on my page where we sell subscriptions and payments via stripe do work.

    The issue is certainly learnpress -> woocommerce -> stripe.

    Thanks in advance for your advices and your help.

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

Viewing 1 replies (of 1 total)
  • HI @eazytraining, please can you tell me how you manage to get Woocommerce working with LearnPress, coz post installation Learn Press do not show Woocommerce option in payment.
    Please advise.
    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Learnpress woocommerce and stripe’ is closed to new replies.