Razorpay Setup
Razorpay is the recommended payment gateway for Indian educators. It supports UPI, credit/debit cards, net banking, wallets, and EMI payments. This guide walks you through the complete setup process.
Prerequisites
- A Razorpay account (sign up at razorpay.com)
- Your business PAN and GST details (for KYC verification)
- A bank account for settlement
Step 1: Create a Razorpay Account
- Visit razorpay.com and click Sign Up.
- Enter your business details and complete the registration.
- Complete KYC verification by uploading your PAN, Aadhaar, and business documents.
- KYC approval typically takes 1-3 business days.
Step 2: Get API Keys
- Log in to your Razorpay Dashboard.
- Go to Settings → API Keys.
- Click Generate Key (for test mode first).
- Copy the Key ID and Key Secret.
Important: The Key Secret is shown only once. Save it in a secure location immediately.
Step 3: Configure in Euron Systems
- Go to Settings → Payment Gateways → Razorpay.
- Enter your Razorpay credentials:
- Key ID — Your Razorpay Key ID
- Key Secret — Your Razorpay Key Secret
- Toggle Test Mode to on (for initial testing).
- Click Save.
Step 4: Configure Webhooks
Webhooks notify Euron Systems about payment events (success, failure, refund):
- In your Razorpay Dashboard, go to Settings → Webhooks.
- Click Add New Webhook.
- Enter the webhook URL provided by Euron Systems (shown in your gateway settings).
- Select these events:
payment.authorizedpayment.capturedpayment.failedrefund.createdsubscription.activatedsubscription.chargedsubscription.cancelled
- Set the webhook secret and enter the same secret in Euron Systems.
- Click Create Webhook.
Step 5: Test the Integration
- With Test Mode enabled, create a test course with a price.
- Go to your storefront and attempt to purchase the course.
- Use Razorpay's test card numbers:
- Success: 4111 1111 1111 1111 (any future expiry, any CVV)
- Failure: 4111 1111 1111 1234
- Verify that the payment appears in both Razorpay and Euron Systems dashboards.
Step 6: Go Live
- In Razorpay Dashboard, generate Live Mode API keys.
- Update the keys in Euron Systems gateway settings.
- Toggle Test Mode to off.
- Run one real payment to confirm everything works.
Supported Payment Methods
| Method | Description |
|---|---|
| UPI | Google Pay, PhonePe, Paytm, BHIM UPI |
| Cards | Visa, Mastercard, Rupay, Amex, Diners |
| Net Banking | 50+ banks supported |
| Wallets | Paytm, Mobikwik, Freecharge, Airtel Money |
| EMI | 3, 6, 9, 12, 18, 24 month EMI on cards |
Settlement Schedule
Razorpay settlements are processed as follows:
- Standard: T+2 business days (payment received on Monday, settled on Wednesday)
- Instant Settlement: Available on request for a small fee
Related Documentation
- Payment Gateways — General gateway guide
- Subscriptions — Razorpay subscriptions
- Payment Issues — Troubleshooting