- This topic has 3 replies, 3 voices, and was last updated 7 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Addon Related › Software license manager + estore – Expiry date 0000-00-00
Tagged: license key, license manager
I want to sell license keys for my product with different time periods. For testing I created a 1 year long product which license key should expire 1 year after purchase. All is working great and well until I realise that the expiry for new licenses is 0000-00-00. Is there an addon where I can specify the license validity lenghth when adding a new product.
They key is to use the “Date Created” field’s value of the license. That value will always be set to the date the key was created.
Then from your client application (when you do a check via the API), you can use that “Date Created” field’s value and decide if you should allow access to that license or not (based on how long you want to allow the key to work).
Hi
I have the latest version of wp License manager plugin and estore installed on my
WordPress site which is equally up to date with the latest build.
Everything is working well, the problem is that when i create a product which i dont
want to have an expiry date set to it with the estore plugin, the License manager automatically sets the expiry date of the created license keys for the product to “1970-01-01” making the license keys already expired even before it is activated by the end user.
My target is to offer a lifetime access of my software to my client only to be protected
by the license key which will regulate how many devices the software will be activated on.
So, please how do i force the plugin to set no expiry date to the created license keys…?
please help.
Regards
The trick is to use an expiry date that is far into the future. So for example you can use a date similar to the following which will have the same effect as lifetime:
2099-01-01