I need help with the upgrades plugin

When someone chooses to cancel subscription does it automatically give them money back?
I ask this because I added some code into my website that allows you to look at the plugins page only if are subscribed. However, I noticed that when I cancel a subscription they keep the plugins activated. I cant figure out how to auto deactivate plugins when a subscription is canceled. could I just delete the cancel button so that they cant cancel? or would that mess things up. could someone lead me in the right direction of what to do.
Or maybe create a plugin the allows users to use plugins but deactivates plugins automatically.