forked from Nixius/authelia
936 B
936 B
Stripe Payment Link for $0 Signups
For a free trial or limited beta, use a Stripe Payment Link instead of a checkout session.
Create the Payment Link
-
Stripe Dashboard → Products → Add product
- Name: e.g. "Atlas Instance (Free)"
- Price: $0 one-time (or $0/month subscription)
- Save
-
Payment Links → Create payment link
- Select the $0 product/price
- After payment: "Customer goes to a page on your website"
- URL:
https://bc.a250.ca/success?session_id={CHECKOUT_SESSION_ID} - (Use your actual
APP_URL+/success?session_id={CHECKOUT_SESSION_ID}) - Create link
-
Configure ss-atlas via environment:
STRIPE_PAYMENT_LINK=https://buy.stripe.com/your_link_id MAX_SIGNUPS=10
Behavior
- Landing page shows "Sign Up Free" button → Payment Link
- Limit enforced at: landing, checkout form, success page, webhook
- Set
MAX_SIGNUPS=0to disable limit