Hello, I am working on a portal. Here I have customized the paypal enrollment. But after enroling the course users supposed to assign as student, but not working. Please see the image below for the details.
Is your cron job running properly? https://docs.moodle.org/30/en/Cron
Is the enrollment method set to student role? It could be set to none. If you click the edit button next to the enrollments of any of these people, you should be able to see which role is set for assignment. Based on your image, I'd guess it is set to None.