Skip to main content

Quick Setup

1. Razorpay (Indian Payments)

Set these environment variables:
RAZORPAY_KEY_ID=rzp_live_xxxxx
RAZORPAY_KEY_SECRET=xxxxx

2. Stripe (International Payments)

STRIPE_SECRET_KEY=sk_live_xxxxx
STRIPE_WEBHOOK_SECRET=whsec_xxxxx

3. PayPal (Alternative)

PAYPAL_CLIENT_ID=xxxxx
PAYPAL_CLIENT_SECRET=xxxxx

4. GST (Indian Tax)

PLATFORM_GSTIN=22AAAAA0000A1Z5
PLATFORM_STATE=Gujarat

Webhook URLs

Configure these webhook endpoints in your payment provider dashboards:
ProviderWebhook URL
Stripehttps://yourdomain.com/api/webhooks/stripe
Razorpayhttps://yourdomain.com/api/webhooks/razorpay

Testing

Use test/sandbox API keys during development. Switch to live keys for production.