I have built an installer for my script which allows users installing the script easily. I want to know if it is allowed to ask the purchase code when user tries to install the script. I have not encrypted any code, I will just ask for a purchase code and check it through Envato API. If the purchase code is valid, the installation process will be continued, otherwise not.
I have seen many recently approved scripts in Codecanyon doing it the same way (you cannot install them without a valid purchase code). But as I am a new author and struggling to approve my first item, I want to be 100% sure it is allowed.
Another thing, if it is allowed, how will reviewer install the script while testing it in the review process? I can disable the code verification temporarily during the review time. The reviewer will just need to enter any random (but valid in format) purchase code to install the script. If I mention this in the message when I submit the script, will it be enough? I am asking this because my previous experience says reviewers do not read messages.