Added a method for generating licenses after purchase