StudyStudio
Custom Server Environment

Payment Gateways

Live payment credentials on your own server

Use live credentials for every gateway you enable. The variable names match the local guide - only the values change.

Stripe

Set your live secret key in the server .env:

STRIPE_SECRET_KEY=sk_live_...

No product or price ID is needed - StudyStudio creates the checkout price dynamically from the plan amount. There is no webhook endpoint to configure: Stripe redirects the user back to the app after payment and the plan is applied there.

PayPal

Create a live app and set the live PAYPAL_API_URL (https://api-m.paypal.com), client id, and secret.

Razorpay and Flutterwave

Use live keys for both, exactly as documented in the production guide.

On this page