You might want to checkout our articles first: https://wyday.com/limelm/help/how-to-generate-product-keys-after-order/
They describe how to generate keys after an order. If you have no / little experience programming then go with the FastSpring help article.