Extending an already activated license

We have a license with DELAYED expiration strategy and a validity of 14 days, 1 max. activations.

This license has been activated and the activation got an expiration date according to its time + 14 days.

Now, we need to extend this license. How should we proceed?

We cannot modify the Validity as it has been deprecated. If we edit the license expiration date, the expiration date of the activation does not change from the original “activation timestamp + 14 days” and, when our server checks it, license is reported as expired.

Is there a way for us to achieve the license extension in this case?

Dear Miguel,

Thank you for reaching out.

You can simply extend the license expiration date. This action updates the license expiresAt value but does not immediately update the activation expiresAt value.

On the client side, now these latest details (updated expiration date in your case) can be fetched in two ways:

  • If the machine has an active internet connection, a server sync will update the activation details with the latest changes (or restarting the app will immediately update the details provided that the internet connection is available to the machine) and subsequently the activation expiration date on the server side will be updated.

  • If internet access is not available, you need to repeat the offline activation process by generating a request and response file. Upon generation of response file server side, the expiresAt property of the same activation will get updated and consuming the response file by client will result in reflecting the latest details.

Additionally, if you are considering migrating the license(s) to new subscriptions, you may find the following guide helpful: License Subscriptions Documentation.

Thanks for the quick response!

I understand then that our server-side should check if the license was extended and, in that case, change the expiration date of the activation(s) accordingly. Am I right?

Please note we are accessing Cryptlex just via REST API.

Dear Miguel,

As per the current behavior, when the expiresAt of a license is updated, the corresponding activation expiration should be updated during the next server sync. That said, we are currently reviewing it to see if the expiresAt of an activation should be automatically updated as soon as the license expiresAt is updated. We will keep you informed.

Thank you for your understanding.

Understood, thanks. And please, yes keep me updated.

I think it makes sense.

1 Like