Hello. We need to organize the following:
- Pay for testing when requesting the result of this testing.
- Pay for an hour of testing. These are two different types of testing.
What logic would you advise me? Particularly concerned with how and where (in the database or cookies?) Store data that the user has paid for the result or time. I use YII so I’ll ask if it will touch RBAC , CWebUser or other standard framework tools.
Thank you very much.