I am selling a theme on themeforest, and I want to code a secure check of customers purchasing my theme before allowing them to import demo.
Using new API Envato, it is prety easy to get a list of all purchases. The down side of this way, is that any customer who knows some PHP can easily alter the code and then use import without actually purchasing the theme.
I had another idea, of cenrilizing the purchase check on my server, where the theme will send the API token to my server, then my server checks if this token is good or no, and accordingly return the demo data to the theme or no.
My question, is that allowed by Envato ? Also will many repetitive pull requests from my server cause a block from API onto my server?
Any help from great authors out there is highly appreciated.
Thanks in advance