Guide sell PHP script

Hi, I’m new here. I want tips and trick before I make sell in codecanyon. I already read many article and watch video, but no help. What I should have from customer? purchased ID? I watch video that author add purchased ID before start install the php script. I’m very confuse. Please explain from start until the end.