Razorpay Configuration
Complete guide for Razorpay Configuration
Getting Started with Razorpay
- Visit Razorpay Dashboard
- Complete account registration with business details
- Verify your business information
- Provide business documentation
- Verify business address and contact details
- Complete Know Your Customer (KYC) process
- Wait for account approval (1-2 business days)
- Go to Settings → API Keys in your Razorpay dashboard
- Click Generate Key Pair
- Copy the Key ID (starts with rzp_test_ or rzp_live_)
- Copy the Key Secret (starts with rzp_test_ or rzp_live_)
- Important: Keep your Key Secret secure and private
- Navigate to Settings → Webhooks in Razorpay dashboard
- Click Add Webhook
- Enter webhook URL: https://your-domain.com/webhooks/razorpay
- Select these events:
- payment.authorized
- payment.failed
- payment.captured
- payment.cancelled
- Copy the webhook secret if provided
Razorpay Configuration Fields
- Purpose: Public identifier for your Razorpay account
- Format: Starts with rzp_test_ (test) or rzp_live_ (production)
- Security: Safe to expose in client-side code
- Example: rzp_test_ABC123DEF456GHI789JKL012MNO345PQR678STU901VWX234YZA567BCD890EFG
- Purpose: Private key for server-side API authentication
- Format: Starts with rzp_test_ (test) or rzp_live_ (production)
- Security: NEVER expose this key in client-side code
- Example: rzp_test_ABC123DEF456GHI789JKL012MNO345PQR678STU901VWX234YZA567BCD890EFG
- Purpose: Verifies webhook authenticity from Razorpay
- Format: Custom string set in Razorpay dashboard
- Security: Keep this secret and secure
- Optional: Recommended for production environments
- Example: whsec_1234567890abcdefghijklmnopqrstuvwxyz
Razorpay Supported Features
- Credit/Debit Cards (Visa, Mastercard, RuPay, American Express)
- UPI (Google Pay, PhonePe, Paytm, BHIM)
- Net Banking (All major Indian banks)
- Digital Wallets (Paytm, Mobikwik, Freecharge)
- EMI Options (3, 6, 9, 12 months)
- Bank Transfers (NEFT, RTGS, IMPS)
- All major Indian payment methods
- UPI integration
- Net banking support
- EMI options
- GST compliance
- PCI DSS compliance
- 3D Secure authentication
- Fraud detection systems
- Encrypted data transmission
- Secure webhook verification
×