Startup Starter Kits
  • Launch Manual
    • Clone the Repository and Install Dependencies
    • Generate NextJS Apps or Components Using ssk-plugin
    • Start Your Project in Development Mode
    • Configure Your Environment Variables
    • Run Your Project in Production Mode Locally
    • Launch Your Project
  • SSK-Core Features
    • UI Components
    • Root Layout
    • SEO
    • Icons
    • Feature Flags
    • Utilities
    • Templates
      • Privacy Policy Template
      • Terms of Service Template
  • SSK-Pro Features
    • AI Chat Integration
      • Setting Up AI Providers
      • Using the Pre-built Chat Component
      • Securing Chatbot Conversations
      • Testing and Customizing AI Responses
    • Google Analytics
      • Setting Up Google Analytics
      • Implementing Pageview Tracking
      • Handling Cookie Consent
      • Tracking Events
    • Payments Integration
      • Stripe Payments
        • Setting Up Your Stripe Account
        • Installing Stripe in Your Application
        • Implementing in Your Project
      • Lemon Squeezy
        • Setting Up Lemon Squeezy Account
        • Configuring the Webhook Endpoint
        • Testing and Verifying Integration
    • Affiliate Marketing
      • Lemon Squeezy
      • Rewardful
    • Form and reCAPTCHA
      • Setting Up reCAPTCHA
      • Integrating reCAPTCHA with Forms
      • Verifying reCAPTCHA on the Backend
      • Environment Variables for reCAPTCHA
      • Testing reCAPTCHA Integration
    • Email Integration with Nodemailer
      • Setting Up Email Server
      • Sending Contact Requests
    • Authentication
      • Auth with Google
      • Implement Auth0
  • SSK-Core GitHub Repo
  • SSK-Pro GitHub Repo
  • Contact Support
  • Three Tech Consulting
  • SSK-License
Powered by GitBook
On this page
  • Overview
  • Prerequisites
  • Getting Started
  1. SSK-Pro Features
  2. Payments Integration

Lemon Squeezy

This guide provides a comprehensive overview of integrating Lemon Squeezy into your SSK-Pro project. With Lemon Squeezy, you can seamlessly manage payments, handle affiliate marketing, and securely track order events.


Overview

The Lemon Squeezy integration in SSK-Pro includes:

  • Payment Processing: Receive and process payments with Lemon Squeezy.

  • Affiliate Marketing: Support for Lemon Squeezy's built-in affiliate marketing, allowing you to incentivize referrals.

  • Webhook Handling: Automatically receive events like order_created and securely store relevant data in your database.

  • Feature Flag Flexibility: Use environment-controlled feature flags to toggle Lemon Squeezy and other payment providers (e.g., Stripe).


Prerequisites

Before starting, make sure you have the following:

  • LEMONSQUEEZY_WEBHOOK_SECRET environment variable (up to 40 characters). This secret is crucial for verifying the authenticity of incoming Lemon Squeezy events.

  • Environment Feature Flags:

    • FF_LEMON="true" to enable Lemon Squeezy.

    • FF_LEMON_SQUEEZY_AFFILIATES="true" to enable Lemon Squeezy affiliate marketing.

    • Ensure FF_STRIPE="false" if using Lemon Squeezy to avoid conflicts with Stripe.


Getting Started

Follow these chapters to configure and integrate Lemon Squeezy into your SSK-Pro project:

PreviousImplementing in Your ProjectNextSetting Up Lemon Squeezy Account

Last updated 6 months ago

For further details on Lemon Squeezy’s webhook specifications, refer to their . This guide ensures that your integration is secure, flexible, and fully aligned with SSK-Pro's feature flag system, giving you control over your payment provider setup.

official documentation