How do I set up enrolment outside of Openlearning?
The External Enrolment URL option is useful if you wish to redirect users to a site outside of the Openlearning platform i.e for payment, registration and enrolment of the learners directly in your organization.
How to set up
Step 1
Go to Course setup > Advanced and scroll down to the External Enrolments section.
Step 2
In the External Enrolment URL field, enter the link to where you want the learners to be redirected when they try to enrol in your course.
Note: Please ensure that you include the https:// prefix as well, otherwise, it will not redirect properly.
Step 3
If you see a green tick beside the field, it means the changes that you made to this setting are automatically saved.
That's it! Once this has been set up, any users who click on the Join Now button on your landing page gets directed to the site that you set above.
Customisable fields (optional)
The following template variables can be used to customise the External Enrolment URL:
- $user - the user’s full name
- $user_id - the user’s OL user ID
- $course - the course title
- $course_id - the course’s OL ID
- $class_id - the OL ID of the class they might be enrolling into
- $context - the name of the institution, if there is one
If the URL entered has any of these template variables within the URL, Openlearning will replace each with the respective value automatically.
e.g.
https://www.example.com/$context?user=$user will link to:
https://www.example.com/hogwarts?user=Harry%20Potter
Custom label for Join Now button
- This will allow you to set a customized button label to something applicable to your use case, for example: Join waitlist, Register here, Book your slot...
Custom landing page message for unenrolled learners
- This will allow you to set a customized text on the landing page for unenrolled learners.
When to use the external enrolment
- If you would be linking the class via SSO or if you would be inviting the learner in manually to the course after they have completed the registration outside of the platform.
- If you are hosting your own payment gateway and want to use that instead of our built-in payment gateway, you would need to use this together with the External payment gateway settings as per our article on Custom Payment Gateway. Note that this particular feature is only applicable for courses that are part of an institution. If you would like to learn more about the institution subscription plan, click here.
Typical use case
A course is set up with the External Enrolment URL as documented above.
- Interested users land on your course landing page and click on the Join Now button.
- They get redirected to your site/web application to complete the registration.
- Once they have completed the registration, you can enrol them into the course;
- Manually through the Administer Learners > Learners setting page;
- Set up the integration via API or LTI and add them to your course.