ADMIN_BASE_V2 2025-12-29
EsenTrader Admin – Dashboard

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.
Go to Subscribers
Plan Catalog
Şimdilik statik. Stripe bağlanınca Price ID’lerle eşleştirilecek.
Temp pricing
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.

  1. Stripe account aç (Business / LLC ile uyumlu)
  2. Products & Prices oluştur (VIEWER, COPY)
  3. Webhook endpoint ekle: /api/webhooks/stripe (Boru API)
  4. Webhook secret & Price ID’leri ENV/DB’ye kaydet
  5. Checkout endpoint test et (success + cancel)