Hi. Forgive my lack of developer skills. I hope I don't waste your time. I was able to get Myddleware to create new students in Moodle when they were added as customers in Magento (see earlier in this thread).
So I THINK that what I'm now trying to figure out is if the magento.php and moodle.php files contain the fields needed so that I can map course purchases in Magento to course enrolments in Moodle. Is that right?
In those php files are the field names directly from the MySQL database fields?
In moodle.php I see the fields for courses. It has 'idnumber' and 'id' I'm not sure the difference?--I can check the database to see if that is the way to figure it out.
It seems like the way to map Magento purchases to Moodle courses is for Magento purchases to have a field that contains the Moodle Course ID number? So that field then maps directly to the Moodle course id field via Myddleware. Does that sound right?
So I think that the 'id' field or the 'entity_id' field under "case 'orders':" in magento.php might be the fields that could contain the Moodle course ID #?
I'm happy to keep going if this is useful. Otherwise, will wait for somebody else to work on it. Thanks!!