How to create membership system

I am creating app. I am working on store for purchasing “Membership System” using In-App Currency. How can I create membership system (for week or month) and How can I automatically expire it after certain period of time. I am using MySQL as database. Can anyone please help me that would be appreciated.

Thanks :slight_smile:

Search the forum. This has been asked and answered before.