Skip to content
prasanna-lmsace edited this page Jul 25, 2023 · 7 revisions

LMSACE Connect

LMSACE Connect is a woocommerce integration plugin that focused on Moodle + WooCommerce Integrations.

It gives the course creators options to import courses from the Moodle LMS and create courses as woocommerce products and sell their courses to customers.

Once the course products are purchased by a customer, Plugin will create those users on Moodle LMS and enroll them into the linked course.

With the new version, we've added exciting features to further enhance your e-learning experience. Enjoy the seamless login with SSO, sync multiple courses with a single product, and import course outline data effortlessly.

Plugins to Set up Connection and Single Sign-On (SSO):

To install the listed plugins, please refer to the installation steps provided in the respective plugins' README.md files.

WordPress Side Plugin (Mandatory)

Moodle Side Plugin (Mandatory)

Moodle Side Auth Plugin (Optional).

Dependencies

Component: WooCommerce

Version: 3+

Plugin URI: https://woocommerce.com/

Features.

  1. Selective Course Imports.
  2. Link courses with existing products.
  3. User creation and enrolment on order completion.
  4. User un-enrollment on order cancellation.
  5. Selectable role for participants.
  6. Single Sign ON.
  7. Course syllabus import.

Initial connection setup

Generate token on Moodle Software

Do the following steps in your Moodle software to generate the token and other data used for connecting with WordPress.

  1. Log in as site administrator.

  2. Go to 'Site administration' -> 'server' -> 'Web services' -> 'Generate LAConnect Connection'

  3. Go to "General" tab, Enable the webservice by clicking the "Enable" button.

  4. Enable the reset web protocol by clicking the "Enable" button.

  5. On here, go to the 'Generate Token' tab. Select any of a user you want to assign web services.

generate-token

Note: Selected users must have capabilities to assign roles and other capabilities. When the token user doesn't have the needed capabilities, the missing capabilities are listed. Please assign all the listed capabilities to that selected user.

  1. Finally, you can copy the "Site URL" and "Webservice Token" to the WordPress side LMSACE connect plugin.

connection-details

Steps to connect your WordPress

Follow the steps mentioned below in your WordPress, to connect your WordPress with Moodle.

  1. Log in as site administrator and go to the admin backend.

  2. Go to the LMSACE Connect.

  3. Enter your Moodle Site URL and Site token which you can copy from your Moodle LMSACE Connect "General" tab.

  4. Please click the 'Connect' button to save the details.

After you have saved the details, you can get a notification about the connection status. If you received any errors then please check the given details.

Connection-setup

  1. Once you completed the connection setup successfully. Please go to the "General Setup" tab.

  2. In General setup, Please select the role for a customer user. The selected role will be assigned to the participants who enrolled in the course from your WooCommerce.

General-setup

Steps to setup Single Sign ON

Please install the Moodle software auth plugin and enable the auth plugin.
Get the source from the GitHub repo. https://github.com/lmsace/lmsace-connect-moodleauth

After the installation of the LMSACE Connect SSO plugin, it needs to be enabled in the Moodle LMS. Here's how you can enable SSO using the LMSACE Connect SSO authentication plugin:

  1. Go to 'Site Administration' -> 'Plugins' -> 'Authentication' -> 'Manage authentication'.
  2. In the "Available authentication plugins" table, find the plugin "LMSACE Connect SSO" and click the Eye icon to enable SSO.

Import courses as products.

LMSACE Connect brings the course import as much easier compare with other Moodle + WooCommerce integration options.

  1. Goto the "Import courses" tab in "LMSACE Connect" admin menu.

  2. On the Import page, you can view the list of courses available in the connected Moodle LMS instance.

  3. Click the checkbox to select the courses you want to import.

  4. Select any or all options based on your need. After the course table, You can find the various "Import Options".

  5. Click the "Start Import Courses" button to import the selected courses.

LMSACE Connect will import the courses in the background using WP_Schedule if you have tried to import more than 25 courses in a single time.

Import-Courses

Import features

LMSACE Connect offers several options for importing courses. These options provide flexibility in how you import and handle course data. Here are the available options:

  1. Import Selected Courses as WooCommerce Product:

    • This option allows you to import selected courses and create WooCommerce products for them. This can be useful if you want to sell your courses as products on your WooCommerce store.
  2. Import Selected Courses as Product and Save as Draft:

    • With this option, you can import selected courses as products in LMSACE Connect, but they will be saved as drafts initially. This gives you the opportunity to review and make any necessary adjustments before publishing them.
  3. Update Existing Linked Product Data with Current Course Content:

    • If you have already imported courses as products in LMSACE Connect, this option enables you to update the existing product data with the latest course content. It helps you keep the product information synchronized with any changes made to the course content.
  4. Import Selected Courses with Their Category:

    • This option allows you to import selected courses along with their respective categories. It ensures that the course categorization is maintained during the import process.
  5. Import Selected Courses with Their Details Summary:

    • By choosing this option, you can import selected courses while also including a detailed summary of the course. This can provide users with a quick overview of the course content and help them make informed decisions.

Import-courses-options

Additional options to enhance SSO

SSO Activation Method

LMSACE Connect provides two options for the SSO Activation Method, allowing you to define when the Single Sign-On (SSO) functionality is triggered.

  • Login on WP: With this option, SSO will be activated when a user logs into WordPress. Once authenticated, the user can seamlessly access other connected systems or applications without the need for additional logins.
  • Access the Course: Selecting this option triggers SSO when a user accesses a specific course from the "My Courses" page in the WooCommerce MyAccount section.

Redirectless SSO

  • The Redirectless Single Sign-On (SSO) feature creates a seamless background session in Moodle LMS when a user logs into WordPress. This allows users to access Moodle resources without being redirected to another login page. Please note that Redirectless SSO only works when the "SSO Activation Method" setting is set to "Login on WP."

Create users in Moodle on new registration**

  • The "Create users in Moodle on new registration" setting in LMSACE Connect determines when users are added to Moodle LMS. If enabled, users will be created in Moodle right after they register on WooCommerce. However, if this setting is disabled, user creation in Moodle will occur when they try to log in or access Moodle through WooCommerce.

Authentication Type

LMSACE Connect provides two options for how users authenticate and log in to the system: Manual and LMSACE Connect.

  1. Manual Authentication:

    • The Manual method allows users to log in to Moodle via WordPress and automatically creates a Moodle user with a new password. The user's password is then sent to them via email, enabling them to log in to Moodle directly using the shared credentials. Also, it allows users to log in via SSO.
  2. LMSACE Connect Authentication:

    • The LMSACE Connect method offers SSO integration with Moodle LMS using the auth_lmsace_connect authentication method. With this method, LMSACE Connect creates a new user without a password in Moodle. Users can only access the Moodle site using SSO, and direct login into Moodle is disabled.

SSO-options

Copyright

@LMSACE DEV TEAM,

https://lmsace.com

Review

You feel LMSACE Connect helps you to sell courses easier. Give a review and rating on wordpress.org, it means a lot to us. We are looking for your comments.