Converting license type over time

Hi

We want to offer our users a trial period (i.e. 7 days) after which we would like to convert it to a monthly subscription for 12 months. After those 12 months, we want to convert it to a perpetual license.

What would be the best way to implement this use case?

Hi Jerome,

License validity once set can’t be changed, though you can extend/renew the license expiry.

In your case, we suggest creating a metadata field named is_subscription and set it to any truthy value say yes. Then create the license with validity initially 7 days, then extend the license to 12 months, after 12 months set is_subscription to no and in your code use this metadata field to decide whether to consider LA_EXPIRED as success code or error code.