Appearance
Get your API keys
Generate your API key pair (Key ID and Key Secret) from the Razorpay dashboard. Both direct and subscription gateways share this credential pair.
- Prerequisites: Active Razorpay merchant account with permission to generate API keys.
Generate the key pair
- Sign in to the Razorpay Dashboard at
dashboard.razorpay.com. - Open Settings → API Keys.
- Generate a new key pair. Razorpay shows the Key ID and a matching Key Secret.
Copy the Key Secret now
Razorpay shows the Key Secret only once, at generation. Copy it immediately — if you lose it, you must regenerate the pair.
Test keys vs live keys
The environment is chosen entirely by the Key ID prefix — there is no separate sandbox switch:
| Prefix | Environment | Use it for |
|---|---|---|
rzp_test_… | Test | Trying the flow end to end without moving real money |
rzp_live_… | Live | Taking real payments from customers |
Validate your checkout flow with rzp_test_… keys first, then replace them with rzp_live_… keys when deploying to production. See Going live.
Razorpay Dashboard → Settings → API Keys
Enter them in AcelleMail
- Navigate to Admin → Plugins → Razorpay → Settings in AcelleMail.
- Enter your Key ID into API Key ID.
- Enter your Key Secret into API Key Secret.
- Click Save Settings (never expose the Key Secret in client-accessible code).
Related pages
- Installation — upload, activate, enter keys, save
- Settings reference — the fields in Plugin Settings
- Configure webhooks — verify incoming events
- Going live — switch from test to live keys