Magento and Moodle Integration

I have a project that requires me to set up a subscription-based online learning site using Moodle. I checked Moodle, and it seems that he can handle it on his own. The problem is that the client will not just sell online courses. He will also sell books, reviewers, etc.

I thought Magento would be the best option to sell these items and track all sales. Perhaps I could add online courses as virtual elements.

My questions are: is there a way to fully integrate these two systems in terms of authentication and course registration?

I mean, is it possible for someone:

  • Create an account in Magento
  • Buy a course at Magento
  • Go to the Moodle site without logging in (single sign-on)
  • Go to the course.
+6
source share
3 answers

I think this is possible with moderate effort.

Check out my plugins (GPL) for moodle2, which allow you to support moodle auth and > based on simplesamlphp software.

With these plugins, a "mask" is executed. You can "provide / de-profile users on the courses" on the fly, using the user rights to the attributes sent according to saml.

Therefore, you should add saml support for Magento and develop logic to add rights to the auth source that you use as your provider when making a purchase.

Edit:

+2
source

Unsurprisingly, there are no extensions that connect Magento to Moodle. You yourself must develop a module: S

0
source

To solve the single sign-on (SSO) problem, you will have to use simpleSAMLphp.

0
source

Source: https://habr.com/ru/post/899274/


All Articles