Payment & Subscription Management
User Profile
Name: Not set
Email: Not set
Phone: Not set
ID: Not set
Payment State
Loading: false
API Loading: false
Dismissed: false
Order ID: None
Subscription ID: None
Success Called: false
Test One-Time Payment
Test Subscription Payment
Get this from Razorpay Dashboard or select from available plans below
Number of billing cycles (e.g., 12 for monthly plan)
Optional: Array of addon objects (e.g., empty array [])
Optional: Custom metadata as JSON object (e.g., empty object)
Instructions
- Click "Set Mock User Data" to populate user profile for testing
- For one-time payment: Enter cohort ID and amount, then click "Start One-Time Payment"
- For subscription: You need a Razorpay Plan ID created via Razorpay Dashboard or API
- Test credentials for Razorpay Test Mode:
- Card: 4111 1111 1111 1111
- CVV: Any 3 digits
- Expiry: Any future date
- Check browser console for detailed logs
- Payment state will update in real-time above






Join our Telegram