I have ~100 courses that I need to be specified to have paypal enrolment. I also want to delete the "guest" and "self" enrolment methods.
I cannot get the CSV file to work, I get the error:
moodle_database::update_record_raw() id field must be specified
The CSV file I have been using goes like this:
Reading - L2,Reading Exercise LOWER -2,11100/2,11100,paypal,student,guest,1,self,1,1,,,topics,,,,,,,,,,
i.e. there are two enrolment_1 fields, "enrolment_1" and "enrolment_1_role"
Am I missing a field or does CSV import just not work for "paypal"?
Thanks for any suggestions how to get round this problem!