Surely there is a more useful way to do this instead of simply unenrolling automatically. In your example a simple notification would be more helpful. The problem with making a payment outside of a refund is that PayPal takes yet another cut.
Enrolment
Paypal Enrollment (Moodle 3.8.2)
This discussion has been locked so you can no longer reply to it.