Hello,
The code in this file was not working for me until I removed "!" in the following line:
// Return early if other conditions aren't already met.
if ( ! $can_cancel ) {
https://github.com/restrictcontentpro/library/blob/master/rcp-prevent-payment-plan-cancellations.php
Without "!", it seems to work. Just wanted to let you know.