Automatic Licence ExpirySolved

I've set an expiry date in the LimeLM licence fields, how do I get Fastspring to update the expiry date when the customer has been re-billed?

It appears I need to use limelm.pkey.setDetails but this requires the use of a pkey_id which Fastspring do not have?

This has been covered quite a few times in this forum. Long story short, use the web API to look up the customer either using an email, or using some FastSpring provided unique identifier and store that in a custom license field.

Longer explanations / examples:

https://wyday.com/forum/t/2413/subscriptions/#post-12239

https://wyday.com/forum/t/4270/fastspring-and-saas/#post-20196

https://wyday.com/forum/t/4419/cannot-rebill-license-using-fastspring-script/#post-20767