Add finance app with Stripe Checkout subscriptions (#21)
Introduce Invoice/Payment ledger models, $10/mo settings-backed pricing, hosted Checkout + signed webhooks, Django admin, and authenticated list APIs.
This commit is contained in:
@@ -45,6 +45,17 @@ EMAIL_USE_TLS=true
|
||||
# Captcha
|
||||
CAPTCHA_SECRET_KEY=replace-with-captcha-secret
|
||||
|
||||
# Stripe / finance
|
||||
STRIPE_SECRET_KEY=replace-with-stripe-secret-key
|
||||
STRIPE_PUBLISHABLE_KEY=replace-with-stripe-publishable-key
|
||||
STRIPE_WEBHOOK_SECRET=replace-with-stripe-webhook-secret
|
||||
# Optional: pre-created Stripe Price ID. When empty, Checkout uses
|
||||
# SUBSCRIPTION_PRICE_* from settings.py ($10 USD / month by default).
|
||||
STRIPE_PRICE_ID=
|
||||
FRONTEND_BASE_URL=https://chat.aimloperations.com
|
||||
# STRIPE_CHECKOUT_SUCCESS_URL=https://chat.aimloperations.com/billing/success?session_id={CHECKOUT_SESSION_ID}
|
||||
# STRIPE_CHECKOUT_CANCEL_URL=https://chat.aimloperations.com/billing/cancel
|
||||
|
||||
# Gunicorn / ASGI (UvicornWorker for WebSockets)
|
||||
GUNICORN_WORKERS=2
|
||||
GUNICORN_BIND=0.0.0.0:8000
|
||||
|
||||
Reference in New Issue
Block a user