Introduction
If you would like to process payments with a payment gateway that Cryptolens does not support out of the box, you can either use our Zapier app if your payment provider offers Zapier apps too, or you can use several Web API methods to your help. In most cases, you only need to use license key related methods of our Web API, in particular:- Create Key - to issue a new license key
- Extend License - to prolong an existing license (eg. when a subscription is renewed)
- Block Key - block/delete a license (eg. if an invoice was not paid)
- Add Feature - add more features to a license (eg. upgrade to new pricing tier)
- Machine Lock Limit - change how many devices can use the license (eg. to allow activating on additional devices)
Implementation
Pre-paid payments
Pre-paid payments are the easiest to implement. You can both sell your software on a perpetual basis (i.e. one-time payment) or as a subscription (e.g. customers need to obtain a new license every year).One-time payments
If you sell licenses that should be valid in perpetuity, you only need to call the Create Key method when a transaction succeeds.Subscriptions
If you sell a subscription, you can setting it up in to ways:- Issue a new license with Create Key each time the customer prolongs their subscription
- Call Create Key the first time and later Extend License.