Your clients can pay invoices and store orders with Razorpay (cards, UPI, netbanking, wallets and more), on Razorpay's secure payment page.
Requirements
- RISE 4.2 or newer, with the cron job running.
- A Razorpay account.
- For the webhook: your RISE site must be reachable on a public https address.
Get your credentials
Test (sandbox) credentials
- Sign up on the Razorpay sign-up page. Test mode works right away, before your account is activated.
- In the Dashboard, switch to Test Mode (switch at the top).
- Open Account & Settings > API Keys (under Website and app settings) and click Generate Key. Copy the Key Id (rzp_test_...) and the Key Secret, or download them. The secret is shown only once: if you lost it, click Regenerate Key.
- Open Account & Settings > Webhooks, click + Add New Webhook, paste the Webhook listener link from RISE, type a secret of your choice, tick the event payment_link.paid and save. The same secret goes in Webhook Secret.
Live credentials
- Complete Account Activation in the Dashboard: business type, PAN, GST (if any), bank account and website (ex: https://rise.fairsketch.com/). Razorpay reviews it (KYC).
- After activation, switch to Live Mode, generate live keys (rzp_live_...) and add the webhook again: Test and Live webhooks are separate.
- To take currencies other than INR, request International payments in the Dashboard.
Setup
- Install and activate the plugin in Settings > Plugins.
- Go to Settings > Payment methods and edit Razorpay.
- Enter the Key Id and Key Secret (see Get your credentials). Test keys (rzp_test_) take test payments, live keys (rzp_live_) take real payments.
- Add the Razorpay webhook (same mode) with the Webhook listener link shown here and event payment_link.paid. Enter its secret in Webhook Secret.
- Turn on Available on Invoice and save.
The exact amount is charged, with its paise (never rounded). Payments in other currencies than INR need international payments turned on for your Razorpay account. The smallest INR payment is 1.00.
Testing
With the test keys, pay an invoice with the test card 4100 2800 0000 1007, any future date, any CVV, and any OTP of 4 to 10 digits. Or pay by UPI with success@razorpay.