Adding purchase verification code



Recently I am going to upload my first PHP script on codecanyon and would like to know from other authors, how can we add the feature of purchase code verification before someone can be able to install the script on their website ?
Thanks in advance.

  • Sandy