Razorpay and UPI for Paid Test Series: Keys, Webhooks, Coupons, Validity and Offline Payments, Step by Step (2026)

By the Amica Solutions Team · Published 16 November 2026 · Facts checked 16 November 2026. Amica Solutions builds the MCQ Test Portal, so the screenshots are from our own product and from coaching institutes that use it.

To take UPI and card payments for a test series, paste your Razorpay Key ID and Key Secret into the portal, add the webhook address it shows in the Razorpay Dashboard with the events order.paid, payment.captured, payment.failed and refund.processed, and paste the webhook secret back. Then set price, sale price, access period and coupons per series, and use manual access for cash payments.

Razorpay payment settings in the mcq test portal next to a paid test series price box

Payment settings (left) and a series price box (right). Screenshots: amicasolution.com admin

Our guide on how to sell test series online covers pricing and strategy. This one is the wiring: what to copy from the Razorpay Dashboard, which webhook events to tick, and what happens to a student’s access when a payment succeeds, fails or is refunded.

Everything here is from the MCQ Test Portal’s Payments (Razorpay) settings. Razorpay’s own fees and rules are on its pages, linked below; check them before you go live.

Key takeaways

  • Key ID + Key Secret + webhook secret.
  • Four webhook events unlock access reliably.
  • UPI, cards, net banking and wallets via Razorpay Checkout.
  • Coupons, sale price, validity and manual access.
  • Try it on your own site with the 1-month free demo.

How do you connect Razorpay?

You need a Razorpay account with its Key ID and Key Secret, and five minutes in the webhook screen.

  1. In the Razorpay Dashboard, create API keys. Razorpay gives separate test-mode and live-mode keys; start with test mode.
  2. In WordPress, open MCQ Portal → Settings → Payments (Razorpay) and paste the Key ID and Key Secret.
  3. The settings screen shows your webhook address. In the Razorpay Dashboard → Webhooks, add it with the events below, then paste the webhook secret back into the portal.
  4. Make one test purchase, check the student’s access, then switch to live keys.
Mcq portal payment settings for razorpay: key id, key secret, webhook secret and url, access period and refund setting

Payments (Razorpay): keys, webhook address and secret (empty here). Screenshot: amicasolution.com admin

Which webhook events do you need, and why?

Tick these four webhook events. They let your site hear from Razorpay directly, so access unlocks even if the student’s phone closes the payment page.

EventWhat it tells your site
order.paidThe order is fully paid
payment.capturedThe money was captured
payment.failedThe attempt failed; no access
refund.processedA refund went through

Razorpay explains webhooks and secrets on its webhooks documentation. The Razorpay checkout script loads only on paid series pages, so the rest of your site stays light.

How do students pay, and what does it cost?

Students pay in Razorpay’s checkout with UPI, cards, net banking or wallets. Razorpay’s pricing page lists its fees; on 16 November 2026 it showed a standard 2% for cards, net banking and wallets, with GST of 18% on the fee. UPI terms vary, so read the current page for your account.

How do you set price, coupons and validity?

Each paid series has its own price box.

SettingUse
Price and sale priceShow a struck-out price during an offer
Access periodFor example 365 days, or until the exam
Free sample testsLet students try a test before paying
CouponsA code with a discount, for one series or all paid series, total uses, uses per student and an expiry date
Manual accessFor students who paid in cash or by bank transfer at the office
Renewal reminderWhatsApp message 7 and 1 days before access ends (optional)
Series type and price box: free, paid or seo practice, price, sale price, access days and access-until date

A paid series: price, sale price and access period (example values). Screenshot: amicasolution.com admin

Coupons screen with code, discount, series, total uses, uses per student and expiry date

Coupons for series. Screenshot: amicasolution.com admin

How does current affairs help sell paid series?

Free current affairs keeps buyers coming. A student who opens your daily set every morning sees your paid mocks every morning. The monthly current affairs tests start in a free series that can be made paid later, and state-wise and exam-wise pages bring in the exact students a state PCS series is for. Shri RAJ IAS lists its test series on the same site as its daily current affairs.

How can you try it?

Send us one of your Word files. We switch the portal on for your website for a month and build your first test from it.

Get the 1-month free demo on WhatsAppTake the live demo test

How does the portal handle maths equations?

Equations come straight from your Word file and reach students as sharp images, in Hindi and English, with no maths software needed on their phones.

  • From Word: equations made with Word’s Insert → Equation, or LaTeX typed between $…$ (or $$…$$ on its own line), are read during the upload.
  • Drawn once, saved as images: the equation is drawn in your browser while you import and saved on your site as an SVG image plus a PNG copy. Students load a small image, so fractions, powers and matrices look the same on every phone.
  • Spoken alt text in two languages: each equation carries a description, for example “A equals the 2 by 2 matrix Row 1: 1 2 Row 2: 3 4” and “ए बराबर 2 बाय 2 आव्यूह पंक्ति 1: 1 2 पंक्ति 2: 3 4”, from our demo test.
  • Edit by hand: the question editor has a visual equation editor and a LaTeX box.
  • In PDFs too: downloadable PDFs keep the equations.
  • MathType: MathType equations come in as pictures; convert them in Word (MathType → Convert Equations) for sharp results.

Our Class 12 Maths demo was made from one Word file: 10 questions, 126 equations, no errors in the preview. Open it on your phone to see how it looks:

Two phone screens of the mcq test portal showing a class 12 maths question with sin inverse and fractions, and a matrix question, in hindi and english

Equations in our demo test on a phone: fractions, powers and a matrix, in Hindi and English. Screenshot: amicasolution.com

Frequently asked questions

How do I connect Razorpay to my test series website?

Paste the Razorpay Key ID and Key Secret in MCQ Portal → Settings → Payments, add the webhook address shown there in the Razorpay Dashboard with the four events, and paste the webhook secret back.

order.paid, payment.captured, payment.failed and refund.processed.

Yes. Razorpay Checkout offers UPI, cards, net banking and wallets.

Yes. Use manual access on the series for offline payments.

Yes. Amica Solutions offers a 1-month free demo of the MCQ Test Portal on your own website. Message +91 94113 39575 on WhatsApp.

Chat With Us on WhatsApp

Send us your question and we reply on WhatsApp.

Opens WhatsApp with your message to +91 94113 39575.

Recent Posts

Scroll to Top