we love your product and it really protected our IP for a long time. We know that people around the world have been trying to crack it - but rather unsuccessfully so far. This really is a splendid piece of work!
Oh, thanks. That really means a lot.
In Fastspring, you can run a script upon starting a subscription and it can also fire scripts upon the renewal. However, there is only one script that can be executed for both cases.
Is there no way to use separate scripts in FastSpring? Or do they offer a variable passed under certain circumstances (e.g. if it's a renewal some variable is set)?
If they don't offer some way of distinguishing the separate actions, then you can use a few different LimeLM functions:
- To find product keys based on the email: http://wyday.com/limelm/help/api/limelm.pkey.find/
- If no keys are found, generate a new key: http://wyday.com/limelm/help/api/limelm.pkey.generate/
- If keys are found, set the new expiration date for the keys: http://wyday.com/limelm/help/api/limelm.pkey.setDetails/
Does that make sense?