Cryptlex Documentation
  • Welcome to Cryptlex!
  • Getting Started
    • Overview
    • Licensing Models
  • License Management
    • License Templates
    • Implementing License Models
    • Creating Licenses
    • License Subscriptions
    • Custom License Fields
    • Meter Attributes
    • Suspending Licenses
    • Revoking Licenses
    • Maintenance Policies
  • Feature Management
    • Overview
    • Features and Entitlement Sets
    • License Feature Entitlements
    • Accessing Feature Entitlements
    • Use Cases
  • User Management
    • Roles
    • Creating Users
    • Authenticating Users
    • Organizations
    • Resellers
    • Customer Portal
    • Reseller Portal
    • Google SSO
    • SAML SSO
  • Release Management
    • Overview
    • Creating Releases
    • Distributing Releases
  • Node Locked Licenses
    • Overview
    • Using LexActivator
      • Using LexActivator with C, C++ and Objective C
      • Using LexActivator with C#
      • Using LexActivator with VB.NET
      • Using LexActivator with Java
      • Using LexActivator with Delphi
      • Using LexActivator with Python
      • Using LexActivator with Go
      • Using LexActivator with Node.js
      • Using LexActivator with Ruby
      • Using LexActivator with Android
      • Using LexActivator with iOS
      • Using LexActivator with Flutter
    • Using Web API
    • Offline Activations
    • Proxies and Firewall
  • Floating Licenses
    • Overview
    • Hosted Floating License Server
    • On-Premise Floating Licenses
      • LexFloatServer
      • Using LexFloatClient
        • Using LexFloatClient with C, C++ & Objective C
        • Using LexFloatClient with C#
        • Using LexFloatClient with VB.NET
        • Using LexFloatClient with Java
        • Using LexFloatClient with Delphi
        • Using LexFloatClient with Python
        • Using LexFloatClient with Node.js
        • Using LexFloatClient with Go
        • Using LexFloatClient with Android
        • Using LexFloatClient with iOS
      • Offline Floating License
  • Named User Licenses
  • Timed Trials
    • Verified Trials
    • Unverified Trials
  • Licensing Docker Apps
  • Webhooks
  • Automated Emails
  • Web Integrations
    • Using Zapier
    • Using FastSpring
    • Using Stripe
    • Using Web API
    • Custom Development
  • Changelog
    • Web API
    • LexActivator
    • LexFloatClient
    • LexFloatServer
  • Legal
    • Terms of Service
    • Privacy Policy
    • Subprocessors
    • Data Processing Addendum
    • Service Level Agreement
    • Security, Privacy, and Compliance
    • Open Source Licenses
  • Cryptlex On-Premise
    • Overview
    • System Requirements
    • Server Layout
    • Installation Guide
      • Docker Compose
      • Kubernetes
    • Configuring Client Libraries
    • Monitoring and Error Reporting
Powered by GitBook
On this page
  • Prerequisites
  • Step 1: Set Up Products in Stripe
  • Step 2: Configure Webhooks
  • What Happens Next
  • Need more help?
  1. Web Integrations

Using Stripe

This guide walks you through integrating Stripe with Cryptlex to automate license creation and license subscription renewals.

Prerequisites

  1. Complete the Cryptlex Quick Start Guide to set up your product and license templates.

  2. Deploy the Stripe-Cryptlex integration script using one of the following options:

    • Self-hosted: Follow our deployment guide to run the integration on your infrastructure.

    • Cryptlex-hosted: Let Cryptlex host the integration for a nominal fee. Contact support to request managed hosting.

Step 1: Set Up Products in Stripe

In your Stripe Dashboard:

  1. Navigate to Products and create your desired product(s).

  2. Pass the Cryptlex productId to the integration script to enable license creation and subscription renewal for the selected product.

Step 2: Configure Webhooks

  1. In your Stripe Dashboard, go to Developers > Webhooks.

  2. Click Add Endpoint, and enter the URL where your integration script is hosted.

  3. Select one of the following events to listen for:

    • checkout.session.completed – Triggers license creation after successful checkout.

    • invoice.paid – Triggers license creation and also handles subscription renewals.

  4. Retrieve the signing secret and provide it to your integration script for webhook verification.

What Happens Next

Once the integration is active:

  • New licenses are automatically created after successful Stripe payments.

  • New users are created in Cryptlex using the customer’s name and email from Stripe, and are automatically linked to the corresponding license.

  • Licenses are automatically renewed in Cryptlex when the corresponding Stripe subscription renews.

Each license includes a metadata field named SUBSCRIPTION_ID_KEY that stores the Stripe subscription ID. Do not modify this value.

Need more help?

In case you need more help with using Stripe, we'll be glad to help you make the integration. You can either post your questions on our support forum or contact us through email.

PreviousUsing FastSpringNextUsing Web API

Last updated 13 days ago