• Resolved foryoumummas

    (@foryoumummas)


    Hi,

    urgently need a valid fix for this issue.

    I am testing that when a customer makes a payment for a course I’ve made on Tutor LMS via wooCommerce (either Paypal or Stripe) that they can then access the course (should be enrolled in other words)

    This is not the case, once payment is made, if they go back to the course they are not enrolled and the “add to basket” button is still shown.

    I have read all the other topics and tried every solution posted and I still have the same issue.

    Solutions tried:
    – Using WooCommcerce autocomplete as someone posted that in order to be enrolled the order status needs to be ‘completed’. This does update the amount of students enrolled but the user still cannot access the course.

    – Update woocommerce.php: change ’10, 3);’ to ’10, 1);’
    – add_action(‘woocommerce_new_order’, array($this, ‘course_placing_order_from_admin’), 10, 1);
    add_action(‘woocommerce_thank_you’, array($this, ‘course_placing_order_from_customer’), 10, 1);
    This didn’t work.

    – I have gone through both Tutor LMS wizard and wooCommerce wizard again just to be sure I haven’t missed anything.

    – I can enroll no issue when I make the product free.

    – Settings:
    1. woocommerce is selected in monetization tab for tutor lms.
    2. product setup in woocommerce is ‘simple product’, virtual and for tutor is also selected.
    3. Tutor lms ‘add product’ has the woocommerce product selected.
    4. Both are published

    Can someone please give me a solution that works. I am due to launch my course in a few days and I have no confidence that anyone will actually be able to use the course at this point in time.
    Nothing seems to work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @foryoumummas,

    You can go to Woocommerce orders to check order status. Woocommerce awaits payment confirmation to arrive from the payment gateway being used then it changes order status to complete. Once the order status changes, Tutor LMS allows access to course content.
    If you are using PayPal, then check if IPN is functioning as expected

    Thread Starter foryoumummas

    (@foryoumummas)

    This issue is now fixed.

    I’m aware there are a lot of varying solutions to issues similar to this.

    In my case it was eventually to do with WordPress Version recently updating to 5.5.1.

    Rolling back to the previous version via user portal support fixed the enrolment issue.

    Version 5.4.2 works to be specific. You can defer auto updates from this version onwards if you’re worried about new versions breaking plugins.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tutor LMS not enrolling when paying via wooCommerce’ is closed to new replies.