We have a freemium product, which menas that some functionality is available if the monthly subscription has been paid; if not paid, then the free capabilities remain available.
Here is how I am thinking of processing it, but wanted to check:
1) When someone purchased their subscription, a recurring billing schedule is created.
2) The user will have a field (paid_up) set to "y"
3) When the user logs back in, the authentication script checks if paid_up is "y". If it is, it creates a session token
4) I think I need a batch script which will switch the toggle. Wondering how to do it? Store the date of the last credit card successfully processed?