The Moodle connector for Woocommerce is designed to assign WordPress users who purchase a Moodle course.
The plugin reads the Moodle courses and adds a new object in WordPress as a box with the options to relate the product (course) of Woocommerce in Moodle.
When a user makes a purchase from Woocommerce, created the same user in the Moodle platform and assigned the course.
The user can login in Moodle with the same credentials that are using in WordPress.
This plugin uses the complex moodle API for getting Course List and for creating a new user. Another good feature is that if a user already exists, the course is assigned without creating a new user.