Appearance
Payment Configuration
Quizora supports two payment gateways: Razorpay and Stripe. You can enable one or both.
Razorpay
Razorpay is recommended for platforms targeting India, Southeast Asia, and the Middle East.
Setup Steps
- Create a Razorpay account at razorpay.com
- Go to Settings → API Keys in your Razorpay Dashboard
- Generate a new API Key pair (Key ID + Key Secret)
- In Quizora: go to Admin → Settings → Payments → Razorpay
- Enter your Key ID and Key Secret
- Click Save
Live vs Test Mode
Razorpay provides separate keys for Test mode and Live mode. Use Test keys while setting up, and switch to Live keys before accepting real payments.
Stripe
Stripe is recommended for platforms targeting the US, Europe, and international markets.
Setup Steps
- Create a Stripe account at stripe.com
- In your Stripe Dashboard, go to Developers → API Keys
- Copy your Publishable key and Secret key
- For webhooks: go to Developers → Webhooks → Add Endpoint
- Endpoint URL:
https://yourdomain.com/api/stripe/webhook - Select events:
payment_intent.succeeded,payment_intent.payment_failed - Copy the Signing Secret
- Endpoint URL:
- In Quizora: go to Admin → Settings → Payments → Stripe
- Enter Publishable Key, Secret Key, and Webhook Secret
- Click Save
Commission & Earnings
Platform Commission
You (the admin) can take a percentage of every quiz sale. Configure this in Admin → Settings → Payments → Commission Rate.
Example: Commission rate = 20%
- Quiz price: ₹500
- Platform earns: ₹100
- Creator earns: ₹400
Creator Payouts
Creators accumulate earnings in a wallet balance. They can request a payout from Creator → Earnings → Request Payout.
You review and approve payout requests from Admin → Payouts.
Testing Payments
Before going live, test your payment flow using test cards:
Razorpay test card:
- Card number:
4111 1111 1111 1111 - Any future expiry, any CVV
Stripe test card:
- Card number:
4242 4242 4242 4242 - Any future expiry, any CVV
No Payment Gateway?
If you don't configure any payment gateway, Quizora still works — creators can only publish free quizzes. Paid quiz publishing is automatically unlocked once at least one gateway is configured.