FormPay – Payment-First Gateway Integration for WordPress Forms
FormPay – Payment-First Gateway Integration for WordPress Forms
FormPay is a professional Razorpay payment integration for
WPForms and Elementor Forms that enforces a strict
Payment-First architecture.
Unlike traditional form payment plugins, FormPay ensures that
payments are securely verified via Razorpay webhooks before any form entry is created.
This guarantees zero unpaid, fake, or abandoned submissions.

❌ The Common Problem with WordPress Form Payments
Most WordPress payment integrations follow this risky flow:
Form Submitted → Entry Saved → Payment Attempted
This results in:
- ❌ Unpaid form entries stored in the database
- ❌ Fake or spam submissions
- ❌ Manual payment verification
- ❌ Confusion between “submitted” and “paid” users
This workflow is unsuitable for admissions, registrations, bookings, applications, or paid services.
✅ The FormPay Solution: Payment Comes First
FormPay completely reverses the workflow.
Payment is mandatory and securely verified before any form submission is finalized.
- ✔ No unpaid form entries
- ✔ Secure Razorpay webhook verification
- ✔ Automatic payment & success pages
- ✔ Clean, modern admin UI

✨ Key Features
- ✔ True Payment-First architecture (no unpaid entries stored)
- ✔ Native support for WPForms & Elementor Forms
- ✔ Razorpay Orders API integration
- ✔ Secure server-side webhook verification (
payment.captured) - ✔ Form entry created only after payment success
- ✔ Automatic payment page (no page creation required)
- ✔ Automatic success page
- ✔ Per-form fee management
- ✔ Modern admin dashboard
- ✔ Filterable & paginated payment logs
- ✔ Test / Live mode support
- ✔ Branding support (logo, color, title)
- ✔ Works for logged-in and guest users
- ✔ Clean, extensible, CodeCanyon-compliant code
Supported Form Builders
WPForms
- ✔ Works with WPForms Free & Pro
- ✔ No core file modification
- ✔ Entries created only after payment success
- ✔ Suitable for complex, multi-field forms
Elementor Forms
- ✔ Convert Elementor Forms into payment-first forms
- ✔ Secure checkout redirection
- ✔ No design or UI breakage
- ✔ Ideal for landing pages and one-page payment forms
How It Works
- User fills a form (WPForms or Elementor Forms)
- Form data is stored temporarily (no entry created)
- User is redirected to a secure payment page
- Razorpay checkout opens
- Payment is completed
- Razorpay webhook verifies payment
- Form entry is created
- User is redirected to the success page
No payment → No form entry.
Security Highlights
- ✔ Razorpay secret key is never exposed to frontend
- ✔ Orders are created server-side
- ✔ Payment verification via Razorpay signature & webhook
- ✔ Webhook is the final authority
- ✔ Idempotent processing (no duplicate entries)
- ✔ Temporary form data auto-deleted after success
Requirements
- WordPress 5.8 or higher
- PHP 7.2 or higher
- WPForms (Free or Pro) or Elementor Pro
- Razorpay account
⚙️ Easy Setup
- Install & activate the plugin
- Add Razorpay API keys
- Configure webhook URL in Razorpay
- Enable payment for selected forms
- Start accepting payments
Admin Dashboard
FormPay includes a modern admin dashboard showing:
- Total payments
- Total revenue
- Current mode (Test / Live)
- Webhook status
- Setup checklist
- Quick navigation links
Payment Logs
- View all captured payments
- Filter by form, date, and status
- Search by Razorpay payment ID
- Pagination support
- Accurate Razorpay timestamps
Branding & Customization
- Custom payment page title
- Brand color support
- Use site logo or upload custom logo
❓ Frequently Asked Questions
Does this plugin store unpaid entries?
No. Form entries are created only after successful payment verification.
Does it work with guest users?
Yes. Login is not required.
Does it require creating WordPress pages?
No. Payment and success pages are generated automatically.
Is webhook configuration mandatory?
Yes. Webhook verification is required for secure payment confirmation.
Documentation
Detailed documentation is included and available online to guide you through
Razorpay webhook setup and plugin configuration.
Support
Support is provided via the CodeCanyon support system.
Responses are typically within 24–48 business hours.
Planned Updates
- Refund handling
- CSV export
- Advanced analytics
- Email notifications
FormPay is built for reliability, security, and scalability —
ideal for any paid workflow using WPForms or Elementor Forms with Razorpay.
Changelog -------------------------------- Version 2.0.0 – Major Feature Update - NEW: Elementor Forms support added. - NEW: Payment-first workflow for Elementor Forms. - NEW: Secure webhook-based payment verification for Elementor submissions. - NEW: Unified payment flow architecture for multiple form builders. - IMPROVED: Plugin structure refactored to support multi-gateway expansion. - IMPROVED: Admin UI optimizations for better usability. - FIXED: Edge cases related to form submission timing and redirects. -------------------------------- Version 1.0.0 - Initial Release - Razorpay payment integration for WPForms. - Automatic payment page generation. - Webhook-verified payment confirmation. - Payment Logs dashboard. - Form Fees Manager. - Custom branding support (logo, color, title).


