Billing
Stripe henüz bağlı değil. Bu ekran “Stripe-ready” altyapı taslağıdır.
Stripe
● Not Connected
Mode: not_configured
Gumroad
● Optional
Mode: optional
Manual
● Active
Mode: active
Quick Actions (placeholder)
Stripe bağlanınca bu butonlar gerçek endpointlere bağlanacak.
Plan Catalog
Şimdilik statik. Stripe bağlanınca Price ID’lerle eşleştirilecek.
| CODE | NAME | PRICE | FEATURES |
|---|---|---|---|
FREE |
FREE | $0 / month | • Read-only (basic) |
VIEWER |
VIEWER | $20 / month |
• Portfolio view • Weekly reports |
COPY |
COPY | $99 / month |
• Copy-Trade access • Tier rules supported |
Stripe Setup Checklist
Bu adımlar bitince “Billing” ekranını canlı hale getiriyoruz.
- Stripe account aç (Business / LLC ile uyumlu)
- Products & Prices oluştur (VIEWER, COPY)
- Webhook endpoint ekle: /api/webhooks/stripe (Boru API)
- Webhook secret & Price ID’leri ENV/DB’ye kaydet
- Checkout endpoint test et (success + cancel)