Subscriptions

What is the best way to handle subscriptions? I'm using FastSpring....with LimeLM and a verified trial with 'expire_date'.

Steps as follows:Customer purchases monthly subscriptionI issue a product key that is good for 1 month. (expire_date = now + 1 month) This gets sent to me from Fastspring with the initial purchase.

Next Month:The customer is automatically billed from Fastspring for the following months. How do I get the information from FastSpring to increase the expire_date without having to do this manually?

In my application, I check the expire_date to see if updates are allowed or if the software is allowed to run.

All works fine for buying a license where the customer has to renew each year which is done at FastSpring and I can get the renewal information at that time and increment the expire_date.

Thank you in advance!

The customer is automatically billed from Fastspring for the following months. How do I get the information from FastSpring to increase the expire_date without having to do this manually?

You can prompt for the product key from the customer on the upgrade page. Or you can use the email the customer provides and use the LimeLM web API to find the appropriate product key and set the new expires date. It's up to you.

Thanks for getting back with me Sam.This is what I got from FastSpring:Ken White (FastSpring), Mar 20 01:47 PM: do you have a good technical contact at Lime? My belief at the moment is that there isn't a method of doing this without some middleware script on your site that is capable of keeping up with subscriptions, that we notifiy of a subscription deactivation, and then that script on your side would then have to talk to Lime to deactivate the serial. There just aren't any PHP hooks on our side around that Subscription Deactivation to do it. We could talk to Lime about some potential ideas to make that deactivation possible from our notifications but I suspect it would take code changes on their end. Without that, you are going to have to have some capabilities on your side that keeps up with licenses and subscrptions.

Is it possible to have automation between FastSpring and LimeLm when FastSpring cancels as subscription to have the license file update on your web server? I have look at the web api and it seems there is some capability, but I do not know how to implement with FastSpring? Any thoughts or is this being implemented by others using my scenario? I can always deactivate a license manually once I'm notified from fastspring by email, but there will be some lag time from when this actually gets done on the LimeLM dashboard.

Thanks in advance.

It sound like they have subscription notifications (you'll have to ask them where the documentation on that is):

that we notifiy of a subscription deactivation

So just put a simple script on your website that FastSpring will talk to about changes to subscriptions (renewals, cancellations, etc.). Then, that script will call the LimeLM web API to make the appropriate changes to the product key license field: http://wyday.com/limelm/help/api/limelm.pkey.setDetails/

Does that make sense?

I came to the forum to try and work out how to do the same thing.

So in effect, you issue a permanent key, then when you receive a notification from FastSpring that the user didn't renew their subscription you get them to call a URL on your server that de-activates their key?

Is that right?

So in effect, you issue a permanent key

Yes.

then when you receive a notification from FastSpring that the user didn't renew their subscription you get them to call a URL on your server that de-activates their key?

No, for customers that don't renew their subscriptions you don't do anything. Your app should handle it by reading in the custom license field value and seeing if the date has passed or not.

For customers that renew their subscription you can edit their product key and set a new expires date.

Does that make sense?