forked from Nixius/authelia
1
0
Fork 0
ATLAS/docs/STRIPE_PAYMENT_LINK.md

30 lines
936 B
Markdown

# 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
1. **Stripe Dashboard** → Products → Add product
- Name: e.g. "Atlas Instance (Free)"
- Price: $0 one-time (or $0/month subscription)
- Save
2. **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
3. **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=0` to disable limit