[ad_1]
A bit of an off topic question here, but I don’t know where else I could ask. I developed a plugin and would like to sell it in different plans, the part that confuses me the most is how could I track on how many domains is my plugin being used? And how to create licenses for my plugin.
I have done some research on google but couldn’t find anything useful. Any info is appreciated
[ad_2]
Licenses is just a unique string of whatever, and should at least include some kind of cryptography so that it’s not guessable (aka, don’t use MD5 to hash a unique string).
To check activated domains, you’ll likely need to make a callback method. Not generally approved of in WordPress plugins (for the WordPress repo), but neither are paid plugins so you’re probably safe there anyway, as long as the “pro” plugin is self hosted.