WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Payment redirect page

[Resolved] Payment redirect page

  • Jeremy Plack
    Member

    @stlouiswebgmailcom

    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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author prasunsen
    Participant

    @prasunsen

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

    Jeremy Plack
    Member

    @stlouiswebgmailcom

    Thank you

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

    Plugin Author prasunsen
    Participant

    @prasunsen

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

    Jeremy Plack
    Member

    @stlouiswebgmailcom

    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.

    Plugin Author prasunsen
    Participant

    @prasunsen

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Payment redirect page’ is closed to new replies.