How to Add Razorpay Payments to Your Forms — No Code Required
Collecting payments through an online form sounds complicated — Razorpay API keys, webhooks, server-side verification — but it doesn't have to be. With the right form builder, you can embed a full Razorpay checkout (UPI, cards, net banking, wallets) into any form in under 10 minutes, no developer required. This guide walks through exactly how to do that, plus the use cases where form-based payments outperform every alternative.
Why add payments to a form instead of using a payment link?
Razorpay Payment Links are convenient for one-off transactions. But they have a fundamental limitation: they collect money, not context. When a customer clicks your payment link, they pay — and you receive a notification with their name and email. That's it. You don't know which workshop slot they want, which product variant they ordered, or what dietary restriction they have for the event lunch.
A payment form solves this. It gathers structured information first — the questions you actually need answered — then presents the payment step as the final action. The customer experience is smoother (everything in one place), your data is richer (name, email, phone, preference, and payment all in one record), and your follow-up is easier (no cross-referencing between your payment dashboard and a separate spreadsheet).
There's also a psychology angle. When someone fills out a detailed form before paying, they feel committed. The payment feels like the natural conclusion of a process they've already started, which reduces drop-off at the checkout step. Payment links, by contrast, feel impersonal — a random link with no context about what you're paying for.
Razorpay form integration: three approaches compared
Before we get to the step-by-step, let's quickly compare your options for adding Razorpay to a form:
| Approach | Setup Time | Technical Skill | Cost |
|---|---|---|---|
| Code from scratch | Days to weeks | Developer required | High (dev cost + hosting) |
| Typeform + Stripe | 1–2 hours | Low | $29+/month, no UPI support |
| stigmi + Razorpay | 5–10 minutes | None | Free (or Rs.399/mo for Pro) |
The "code from scratch" route gives you maximum control but requires a developer, weeks of work, ongoing maintenance, and ongoing server costs. Typeform with Stripe is faster but limited — Stripe doesn't support UPI, net banking, or domestic Indian wallets, which are the payment methods most commonly used in India. And Typeform's cheapest paid plan starts at $29/month (around Rs.2,400) for just 100 responses.
stigmi with Razorpay is purpose-built for this: a native Razorpay payment question type that supports every payment method Razorpay offers — UPI, credit/debit cards, net banking, and wallets like Paytm and PhonePe. All responses are unlimited on the free plan.
Step-by-step: Adding Razorpay to your form
Here's the complete walkthrough. We'll use a workshop registration form as the example.
Step 1: Get your Razorpay API keys
Log into your Razorpay dashboard at dashboard.razorpay.com. Navigate to Settings > API Keys. You'll see a Key ID (starts with rzp_live_) and a Secret Key. Copy both — you'll need them in a moment. If you want to test first, use your test mode keys (starts with rzp_test_) and switch to live when you're ready.
Step 2: Create your stigmi account
Go to stigmi.app/register and sign up with your email. It takes about 30 seconds. No credit card required. You'll land on your dashboard where all your forms live.
Step 3: Create your form
Click "New Form" and give it a name — for example, "Photography Workshop — March 2026 Registration". Add your questions first. For a workshop, this typically means:
- Full Name (Short Text)
- Email Address (Email)
- Phone Number (Phone Number)
- Which workshop slot? (Multiple Choice: Morning batch, Evening batch)
- Prior photography experience? (Multiple Choice: Beginner, Intermediate, Advanced)
- Any special requirements? (Long Text — optional)
Step 4: Add the Payment question
Click "Add Question" and select Payment as the question type. This adds a Razorpay checkout step to your form. Configure the payment question:
- Amount type: Fixed (e.g., Rs. 1,999 for all workshop slots) or custom amount if you want registrants to choose
- Description: What are they paying for? (e.g., "Photography Workshop Registration Fee")
- Currency: INR
The Payment question automatically becomes the last step in your form flow — respondents fill in all your questions first, then see the payment screen.
Step 5: Connect your Razorpay account
This is the only "technical" step, and it takes about 30 seconds. In your stigmi dashboard, go to Settings. Paste your Razorpay Key ID and Secret Key into the corresponding fields. stigmi uses these to create orders and verify payments server-side. Your keys are stored securely and never exposed to form respondents.
Step 6: Activate and share
Click "Activate" to make your form live. You'll get a public URL like stigmi.app/f/your-form-slug. Share this link on WhatsApp, Instagram, your website, or email campaigns. When someone submits the form, they go through your questions and then complete payment via the Razorpay checkout. The payment is verified server-side before the submission is recorded.
Practical use cases: where Razorpay form integration shines
Form-based Razorpay integration works for any scenario where you need information before taking payment. Here are the most common real-world uses:
Workshop and training fees
Fitness trainers, dance academies, coding bootcamps, and photography workshops all need to collect: participant name, contact details, preferred batch/slot, skill level, and payment — in one form. No more WhatsApp chaos where people confirm attendance but forget to pay, or pay but never confirm attendance details.
Event registration
Conferences, college fests, networking dinners, and community meetups. Collect ticket tier (basic/premium/VIP), dietary requirements, T-shirt size, company name, and payment. Payment confirmation reduces no-shows dramatically — people who've paid actually show up.
Product order forms
Small businesses and D2C brands without a full e-commerce setup use forms for orders. Ask for product variant (size, color, quantity), delivery address, contact number, and preferred payment method. Simpler than building a full store, faster than WhatsApp order management.
Service booking and deposits
Photographers, wedding planners, interior designers, and freelancers. Collect project details (date, scope, location), client contact info, and advance deposit — all before the first call. It filters serious inquiries from window shoppers and validates commitment before you invest time in the project.
Course enrollment
Online course creators and coaching businesses. Collect which course the student wants, their learning goals, prior experience, and payment. With conditional logic (Pro plan), you can show different prices based on course selection — e.g., Rs. 2,999 for the recorded course, Rs. 8,999 for live coaching.
What payment methods does Razorpay support in forms?
When you embed Razorpay into your stigmi form, your respondents get access to every payment method Razorpay supports:
- UPI: Google Pay, PhonePe, Paytm, BHIM, WhatsApp Pay — instant transfer, free for customers, highest conversion rate in India
- Credit cards: Visa, Mastercard, RuPay, American Express — international and domestic
- Debit cards: All major Indian bank debit cards, including Maestro
- Net banking: 50+ banks including HDFC, ICICI, SBI, Axis, Kotak, PNB
- Wallets: Paytm, Amazon Pay, Mobikwik, Airtel Money, Ola Money
- EMI: No-cost EMI options on eligible cards (available on Razorpay's standard checkout)
This breadth is the reason Razorpay outperforms Stripe for Indian audiences. Stripe doesn't support UPI, which is the preferred payment method for a majority of Indian smartphone users. If you embed Stripe into a form, a significant portion of your audience can't pay the way they want to.
Razorpay form integration vs. building it yourself
If you're a developer, you might be tempted to build a custom Razorpay form integration. It's entirely possible — Razorpay has excellent API documentation. But here's what custom development actually involves:
- Build the form UI (HTML/React/Vue)
- Create an order via Razorpay API on your server
- Load Razorpay checkout.js and initialise it with the order ID
- Handle the payment callback (Razorpay fires an event on success)
- Verify the payment signature server-side (critical for security)
- Store the form data + payment ID in your database
- Send confirmation emails
- Build an admin interface to view responses
- Handle edge cases: payment failure, double submissions, network errors
- Set up HTTPS, domain, hosting, and ongoing maintenance
That's a legitimate amount of engineering work. For a one-off integration, it might take a developer 2–3 days. If you need to update the form later (change questions, update pricing, add fields), you need the developer again. And the ongoing hosting cost typically runs Rs. 500–2,000/month for a basic server.
stigmi handles all of this out of the box. You get a drag-and-drop form builder, built-in Razorpay integration with server-side signature verification, unlimited response storage, email notifications, a response dashboard, and mobile-responsive forms — all for free (or Rs. 399/month for Pro features like conditional logic and CSV export).
Tips for maximising payment conversion
Once your Razorpay form is live, these practices will help you maximise the percentage of people who complete payment:
- Keep questions before payment short and relevant. Don't ask for information you don't actually need. Every extra question is a point of drop-off. Name, email, phone, and the specific preference you need — then payment.
- Show the price before they start. Add a welcome screen or form description that mentions the cost upfront. People who see a payment amount at the end without expecting it are more likely to abandon.
- Test in Razorpay test mode first. Before going live, fill out your own form with test credentials to verify the entire flow — form submission, Razorpay checkout, payment confirmation, and response recording.
- Use conditional pricing with logic rules. If you have multiple pricing tiers (Pro plan feature), use conditional logic to show the correct amount based on earlier answers. This removes confusion and reduces failed payments.
- Send a payment confirmation. After a successful payment, consider following up via email or WhatsApp with a confirmation and relevant details (event location, Zoom link, etc.). This reassures the customer and reduces support queries.
Frequently asked questions
Do I need a Razorpay business account?
Yes. To accept live payments, you need an active Razorpay account with KYC completed. You can sign up at razorpay.com. KYC is required for any live payment processing in India (this is an RBI requirement, not a Razorpay restriction). For testing, you can use Razorpay's test mode without KYC.
How much does Razorpay charge per transaction?
Razorpay charges 2% per transaction for domestic cards and net banking. UPI transactions are currently free for customers (Razorpay absorbs the interchange fee for small amounts). International cards are charged at 3%. These charges are deducted from the settlement amount — you receive the payment amount minus the Razorpay fee.
What happens if a payment fails?
If a payment fails, the form response is not recorded in stigmi. The respondent sees a payment failure message and can retry. Failed payment attempts are visible in your Razorpay dashboard. The respondent can use a different payment method or try again later.
Can I accept international payments?
Yes, if your Razorpay account is enabled for international payments. Razorpay supports international cards in 100+ currencies. You'll need to enable this in your Razorpay settings and your form will accept international card payments automatically.
Conclusion
Adding Razorpay to your forms is one of the highest-leverage things you can do for your business. It eliminates the gap between "someone expressed interest" and "someone paid" — combining data collection and payment into a single, seamless step. The result is richer customer data, fewer drop-offs, and zero chasing-up-on-unpaid- registrations.
With stigmi, you get this without a developer, without a monthly Razorpay integration fee, and without managing a server. Workshop owners, event organisers, course creators, and service businesses across India are using this combination today. If you're still managing registrations on WhatsApp and chasing payments manually, this is the upgrade that saves the most time.
Related articles
Ready to add Razorpay to your forms?
Create a free stigmi account, add a Payment question, and start collecting Razorpay payments in minutes. No coding. No monthly fees. No response limits.
Get Started Free