Go to Integrations

Stripe Coupon Setup - LAUNCH2026

Overview

This document explains how to set up the LAUNCH2026 coupon code in Stripe that provides 25% off the PRO plan ($100/year).

Stripe Dashboard Setup

ticket mate LAUNCH2026

orchestrator 25%

Step 1: Create a Coupon

  1. Go to Stripe Dashboard → Products → Coupons
  2. Click "Create coupon"
  3. Configure the coupon:
    • Coupon ID: LAUNCH2026 (or any ID, but we'll create a promotion code with this name)
    • Type: Percentage
    • Percentage off: 25%
    • Duration: Choose one:
      • Once: Discount applies only to the first billing period
      • Forever: Discount applies to all future billing periods (recommended for launch)
      • Repeating: Discount applies for a specific number of billing periods
    • Redemption limits: Optional - set max redemptions if needed
    • Expiration: Optional - set an expiration date for the coupon

Step 2: Create a Promotion Code

  1. Go to Stripe Dashboard → Products → Promotion codes
  2. Click "Create promotion code"
  3. Configure the promotion code:
    • Code: LAUNCH2026 (this is what customers will enter)
    • Coupon: Select the coupon created in Step 1
    • Active: Ensure it's set to Active
    • Expiration: Optional - set if you want it to expire
    • Max redemptions: Optional - limit how many times it can be used

Step 3: Verify in Code

The checkout API route (src/app/api/stripe/checkout/route.ts) will:

  • Look up the promotion code by code LAUNCH2026
  • Apply it to the checkout session if found
  • If not found, allow customers to enter it manually during checkout

Pricing Display

The pricing section (src/components/marketing/PricingSection.tsx) displays:

  • Original Price: $100/year (strikethrough)
  • Discounted Price: $75/year (25% off) in green
  • Message: "25% off with LAUNCH2026"
  • Coupon Code Chip: Clickable chip that copies "LAUNCH2026" to clipboard

Testing

  1. Create the coupon and promotion code in Stripe Dashboard (test mode first)
  2. Test the checkout flow:
    • Go to /pricing
    • Select PRO plan
    • The discount should be pre-applied if coupon code is passed
    • Or enter LAUNCH2026 during checkout if allow_promotion_codes: true is set
  3. Verify the final price shows $75/year (25% off $100)

API Usage

The checkout API accepts a couponCode parameter:

typescript
POST /api/stripe/checkout
{
  "planId": "pro",
  "yearly": true,
  "couponCode": "LAUNCH2026"
}

The API will:

  1. Look up the promotion code in Stripe
  2. Apply it to the checkout session if found
  3. Fall back to allowing manual entry if not found

Notes

  • The coupon must be created in Stripe Dashboard - it cannot be created via API in checkout
  • Promotion codes are case-insensitive in Stripe
  • The code looks up promotion codes first, then falls back to allowing manual entry
  • Ensure the coupon applies to the correct Stripe Price ID for the PRO yearly plan