Pre-Launch End-to-End Verification
Validates Razorpay INR & USD payment capture, SMS receipt via Twilio, email receipt via Resend, and learner course access link delivery — before going live.
Optional: Live Delivery Tests
Leave blank to skip SMS/email delivery. Enter real values to receive actual test messages.
Receives a real Twilio SMS if configured
Receives a real Resend email if configured
Razorpay Test Cards
Use these on the checkout page to simulate payment flows in test mode.
Visa (Success)
Standard success card
4100 2800 0000 1007Exp: 12/35CVV: 123
Mastercard (Success)
Mastercard test
5267 3181 8797 5449Exp: 12/35CVV: 123
Card (Failure)
Always declines
4000 0000 0000 0002Exp: 12/35CVV: 123
⚠️ Test cards only work when Razorpay keys start with rzp_test_. Switch to live keys (rzp_live_) before launch.
Required Environment Variables
RAZORPAY_KEY_ID
RAZORPAY_KEY_SECRET
RAZORPAY_WEBHOOK_SECRET
RAZORPAY_INTL_KEY_ID
RAZORPAY_INTL_KEY_SECRET
RAZORPAY_INTL_WEBHOOK_SECRET
RESEND_API_KEY
EMAIL_FROM
TWILIO_ACCOUNT_SID
TWILIO_AUTH_TOKEN
TWILIO_PHONE_NUMBER
MOODLE_BASE_URL
MOODLE_WS_TOKEN