How to make my client use plugin only if enters envato key

Hi,

Our plugin is live and we want to make it secure now. We want to make it run only if user enters his/her purchase key. Have any one idea how to do this ?

Thanks

Hi

You can add plugin activation process to verify envato purchase code. you can check this to know about envato api: https://build.envato.com

Thanks