WordPress.org

Forums

Namaste! LMS
[resolved] Payment redirect page (6 posts)

  1. Jeremy Plack
    Member
    Posted 1 year ago #

    Hello,

    Could somebody point me to which file to edit to change the redirection url. after Paypal payment I would like to have the user redirected to the course lesson which has a Watu quiz on it as opposed to the student dashboard.

    My courses have 1 lesson/quiz.

    Thank you

    https://wordpress.org/plugins/namaste-lms/

  2. prasunsen
    Member
    Plugin Author

    Posted 1 year ago #

    views/course-pay.php is where the Paypal form is generated. There you can set your URL

  3. Jeremy Plack
    Member
    Posted 1 year ago #

    Thank you

    Is there a way to get the lesson url dynamically for a given course?

  4. prasunsen
    Member
    Plugin Author

    Posted 1 year ago #

    <?php echo get_permalink($course->ID);?>

  5. Jeremy Plack
    Member
    Posted 1 year ago #

    I think I might be going about this the wrong way. What I would like is to have the page redirect to the Test/Exam for the single lesson of the course that a user enrolls in.

  6. prasunsen
    Member
    Plugin Author

    Posted 1 year ago #

    This is complicated, you will need to run a query to get the first lesson.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Namaste! LMS
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.