I'm using Moodle 3.4 and I have a problem when a paypal enrolment ends. My courses have a monthly payment, and after that I want Moodle to ask for a new payment to access it.
In the configuration for the paypal module I've found three options of what to do when the subscription expires, and I've tried the last two of them, but I've found they don't do what I'm searching for. The first one disables the subscription, but the student can't enrol again in the same course (since they still show up in the course list but with a non active subscription), and the second one seems to keep things like the ranking but deletes the activity history (so all tests look as they were not done). Is there a way to unsubscribe a student, keeping their history, and allowing them to enrol again in the same course?