Integration between Magento and Moodle

Asked

Viewed 397 times

1

I want to sell courses from Moodle 2.6+ track Magento 1.7.

The process flow is as follows:

  • User creates an account in Magento (shopping cart).
  • User buys a course.
  • After purchasing the course, the user can enter Moodle with the same login data with which the user was registered in Magento.
  • User must be enrolled in the purchased course.

How can I do this integration?

Obs.: If possible with View SQL.

1 answer

1

This type of integration can be done yes, but it depends on the way you want your application structure. Nothing prevents that when a user buys a course, the system generates a login and password for him in the Moodle database and send this data by e-mail, thus giving access not only to Moodle but also by enrolling him in the desired course.

  • Yes, I know that. I created a view in the Magento table to "get" the data I need but Moodle does not recognize the ids of the purchased courses.

  • I am using External Database for both registration and enrollment and I synchronize everything with crontab. But it is difficult to register for courses.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.