Describes how to set up products and plans in Stripe
Billing>Products
. Each Stripe product will be linked to a product in Cryptolens. The way to link them is by creating a metadata parameter skm_product_id
, and assign it the product id of a Cryptolens product. You can specify the metadata parameter after that the product has been created. The end result should be similar as shown in the picture below (3349 should be changed to your product id).
skm
in JSON format.
skm
with the value {"F3":true}
. If you want the same key to be node-locked to one device and have Feature 3 enabled, you can set skm
parameter to {"F3": true, "MaxNoOfMachines": 1}
. You can optionally add ProductId
in the skm
parameter, in case you want the license key to belong to a different product.
To change the name of the plan, you can use the Price description
field, which is what Cryptolens will use in the customer portal.
https://app.cryptolens.io/api/subscription/StripeUrl?id=<your user id>
. You can find your specific url on this page.
Developers>Webhooks
and create an endpoint with the following configuration:
https://app.cryptolens.io/api/subscription/StripeUrl?id=<your user id>
(note, this is the Stripe Webhook url )select types to send
and check invoice.payment_succeeded
and customer.subscription.deleted
.sk_test_123abcd
)`and the url.
whsec_CTQa9jRJY3LlnE28Xpv4gLejONQKjHv4
. We will need this value in the Cryptolens setup section.
https://app.cryptolens.io/Portal/@<domain>/
.example.com
.whsec_CTQa9jRJY3LlnE28Xpv4gLejONQKjHv4
.