Checkout & Billing

Securely manage your subscription with Stripe. Sessions are created with signed webhooks, so your access is activated the moment payment clears.

How It Works

  • 1Send plan id to the checkout API route to create a Stripe session.
  • 2Stripe hosts the payment form; success and cancel URLs route back here.
  • 3Webhook handler records payment state and lets you activate the plugin license.
  • 4Control panel shows status, limits, and audit events.

Webhook endpoint: /api/webhook

Checkout endpoint: /api/checkout

Provide `STRIPE_SECRET_KEY`, `STRIPE_WEBHOOK_SECRET`, and public price IDs to go live. See `.env.example`.