Generate 1000 different product keys each with 1 activation. Our examples show how to do it. If you need more help you need to give me more information. Namely, a line of code that's tripping you up.
Hi,
I have a real problem - I want to implement re-seller account. When a re-seller buys multiple licenses, he/she should get unique licenses.
For example: when a re-seller buys 1000 licenses, he should get 1000 unique licenses. and not a single license with 1000 activation.
How can I do that?
Generate 1000 different product keys each with 1 activation. Our examples show how to do it. If you need more help you need to give me more information. Namely, a line of code that's tripping you up.
Hi Sam
I am using PHP sample code from here:
http://wyday.com/limelm/help/automate-license-generation-with-paypal/
I think I figured it out. Here is what I did:The sample code:$xml = new SimpleXMLElement(LimeLM::GeneratePKeys($LimeLM_VersionID, 1, $quantity, $email));
Here, second argument is number of generated licenses. I just interchanged argument 2 and 3.
My code:
$xml = new SimpleXMLElement(LimeLM::GeneratePKeys($LimeLM_VersionID, $quantity, 1, $email));
Seems to be working. Albeit, after modifying the sample code. Please, correct me if I am doing anything wrong.
Nope, that looks perfect. That's exactly what you should do.