• Hi,
    after update to the newest version of LP (4.2.7.5.1), when the user click “buy course” (last button in order), LP redirect to /basket/lp-order-received/35647?key=**** and it show 404 page. Admin get this order in his panel.

    I try to “reset” Permalinks in WP, but it’s not working.

    WP – 6.7.1

Viewing 3 replies - 1 through 3 (of 3 total)
  • They left a test on production code!

    public function course_purchase_button( $course = null ) {
    // Test
    $singleCourseTemplate = SingleCourseTemplate::instance();
    $course = CourseModel::find( get_the_ID(), true );
    $user = UserModel::find( get_current_user_id(), true );
    echo $singleCourseTemplate->html_btn_purchase_course( $course, $user );
    return;
    // End test

    Thread Starter bobek19

    (@bobek19)

    Which file?

    EDIT – I found – \inc\templates\class-lp-template-course.php

    • This reply was modified 1 year, 3 months ago by bobek19.
    Plugin Support brianvu-tp

    (@briantp)

    Hi bobek19,

    Thank you for reaching out to us!

    We have tested the course purchasing process with both logged-in and non-logged-in users using LearnPress 4.2.7.5.1 and the Twenty Twenty-Five theme. In our tests, clicking the “Buy Course” button correctly redirects to the checkout page without any issues. Unfortunately, we could not reproduce the problem you described.

    To assist you better, could you please provide the following information:

    1. The theme you’re currently using.
    2. A screenshot or video of the issue when it occurs.

    This information will help us understand the situation better and attempt to replicate the issue to find a solution for you.

    Looking forward to your response!

    Best regards,
    Brianvu-tp

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘404 after click “buy course”’ is closed to new replies.