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 Integration
    • Personal Access Tokens
    • Using Web API
    • Using Zapier
    • Using FastSpring
    • 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: Configure FastSpring Products
  • Step 2: Set Up Webhooks
  • Next steps
  • Need more help?
  1. Web Integration

Using FastSpring

PreviousUsing ZapierNextCustom Development

Last updated 2 months ago

This tutorial will guide you through setting up FastSpring integration with Cryptlex for automated license management. It supports both one-time purchases and subscriptions. For subscriptions, it handles renewals, suspensions, and deletions based on the corresponding subscription events.

Prerequisites

  1. Follow the Cryptlex quick start in the .

  2. Deployment of the integration script by either:

    • Self hosting: Follow the to set up and configure the integration on your own infrastructure.

    • Cryptlex-hosted deployment: Opt for Cryptlex’s managed hosting service for a nominal fee.

Step 1: Configure FastSpring Products

  • Go to the "Catalog" section in FastSpring dashboard.

  • Add these custom attributes to your “Product” or “Subscription”:

    • cryptlex_product_id

    • cryptlex_license_template_id

For multiple products, ensure each has unique custom attributes.

Step 2: Set Up Webhooks

  • Navigate to "Developer Tools" > "Webhooks" in FastSpring.

  • Click "ADD WEBHOOK" and enable "webhook expansion".

  • Configure the URL Endpoint by specifying the URL of the deployed integration script.

  • Configure a secret in the HMAC SHA-256 Secret field. This secret must also be passed to the integration script to ensure secure verification of webhook requests.

  • Configure the webhook to send specific or all available events, depending on your use case:

    • order.completed - Creates a new license.

    • subscription.charge.completed - the associated license.

    • subscription.payment.overdue - the associated license.

    • subscription.deactivated - Deletes the license.

Next steps

After setup, the integration will:

  • Generate new licenses automatically upon order completion. The license will have metadata with FastSpring order/subscription IDs.

  • Handle subscription renewals, suspensions, and cancellations automatically.

  • Create a user in Cryptlex using customer's email and name present in the checkout.

Need more help?

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

documentation
deployment guide
Renews
Suspends
support forum
email