arrow_backAll guides
settingsOpen My SubscriptionStripe & Razorpay
Premium plan checkout. Keys live on the API server environment.
Credentials to collect
- keySTRIPE_SECRET_KEY / publishable key (API .env)
- keySTRIPE_WEBHOOK_SECRET
- keyRAZORPAY_KEY_ID / RAZORPAY_KEY_SECRET
- keyRAZORPAY_WEBHOOK_SECRET
How to get API access
- 1Create accounts at Stripe Dashboard and/or Razorpay Dashboard.
- 2Copy test or live keys into apps/api/.env (not into the browser).
- 3Configure webhook endpoints to /v1/billing/webhooks/stripe and /razorpay.
- 4In CRM, open My Subscription and choose Pay with Stripe or Razorpay.
- 5If keys are missing, checkout falls back to mock Premium activation for local dev.
Frontend checklist
- check_box_outline_blankServer env keys set for the provider you use
- check_box_outline_blankWebhook secrets configured for production
- check_box_outline_blankSubscription page shows gateway status