Razorpay Configuration

Complete guide for Razorpay Configuration

Getting Started with Razorpay

Step 1: Create Razorpay Account
  • Visit Razorpay Dashboard
  • Complete account registration with business details
  • Verify your business information
Step 2: Complete KYC Verification
  • Provide business documentation
  • Verify business address and contact details
  • Complete Know Your Customer (KYC) process
  • Wait for account approval (1-2 business days)
Step 3: Generate API Keys
  • 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
Step 4: Configure Webhooks
  • 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

Razorpay Key ID
  • 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
  • Examplerzp_test_ABC123DEF456GHI789JKL012MNO345PQR678STU901VWX234YZA567BCD890EFG
Razorpay Key Secret
  • Purpose: Private key for server-side API authentication
  • Format: Starts with rzp_test_ (test) or rzp_live_ (production)
  • SecurityNEVER expose this key in client-side code
  • Examplerzp_test_ABC123DEF456GHI789JKL012MNO345PQR678STU901VWX234YZA567BCD890EFG
Webhook Secret
  • Purpose: Verifies webhook authenticity from Razorpay
  • Format: Custom string set in Razorpay dashboard
  • Security: Keep this secret and secure
  • Optional: Recommended for production environments
  • Examplewhsec_1234567890abcdefghijklmnopqrstuvwxyz

Razorpay Supported Features

Payment Methods:
  • 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)
Indian Market Focus:
  • All major Indian payment methods
  • UPI integration
  • Net banking support
  • EMI options
  • GST compliance
Security Features:
  • PCI DSS compliance
  • 3D Secure authentication
  • Fraud detection systems
  • Encrypted data transmission
  • Secure webhook verification
×