Skip to content

digiasylum/razorform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

RazorForms

Build beautiful Razorpay payment forms inside WordPress β€” no code required.

RazorForms is a visual payment form builder for WordPress powered by the Razorpay payment gateway. Create professional split-layout payment forms with drag-and-drop simplicity, manage every submission in a built-in CRM dashboard, and send fully branded HTML email receipts to clients.


Razorforms for businesses

Features

🧱 Visual Form Builder

  • Split-layout form: service selector on the left, client details on the right
  • Item List β€” add unlimited service/package items with fixed prices or Custom Price (client enters their own amount)
  • Drag-and-drop reordering for items and custom fields
  • Customisable brand colour, title, subtitle, description, and CTA button label

πŸ“‹ Custom Form Fields

  • Core fields (Name, Email, Phone) with editable labels, placeholders, and Required/Optional toggle
  • Additional fields: Text, Textarea, Dropdown, Checkbox Group, Radio Buttons, Date, Number, URL
  • Per-field required toggle and half/full width control

πŸ’³ Razorpay Integration

  • Hosted checkout β€” no card data stored on your server
  • Webhook support: payment.captured, payment.failed, refund.created
  • Multi-currency: INR, USD, EUR, GBP, SGD, AED
  • Test mode support (rzp_test_ keys)

πŸ“Š Submissions CRM

  • All payments in one dashboard with search, filter by form/status, and pagination
  • Individual submission detail view with contact info, payment details, and custom field responses
  • Order summary for item-based forms

🧾 PDF Receipt Generator

  • Auto-generated branded receipt for every payment
  • Single-page layout β€” fits A4 without overflow
  • Accessible from admin (one click) and via secure token link in client emails
  • Print or save as PDF via browser

πŸ“§ Branded HTML Emails

  • Admin notification β€” sent on every successful payment
  • Client confirmation β€” optional, sent to the payer's email
  • Fully customisable: subject line, headline, brand name, colours, footer
  • Dynamic token variables: {id}, {form}, {amount}, {name}, {email}, {brand}, {txn}
  • HTML-supported footer (links, bold, etc.)

🎨 Email & Receipt Design Controls

Setting Description
Brand Name Custom text shown in email header and receipt (uppercase, symbols, etc.)
Header Background Colour picker for the email/receipt header
Header Text Colour Colour of brand name β€” set dark for light backgrounds
Body Text Colour Main text colour in email body and receipt
Footer Text HTML-supported footer line

Installation

From ZIP

  1. Download the latest release ZIP
  2. Go to WordPress Admin β†’ Plugins β†’ Add New β†’ Upload Plugin
  3. Upload the ZIP and click Activate

Manual

  1. Unzip and upload the razorforms folder to /wp-content/plugins/
  2. Activate via Plugins β†’ Installed Plugins

Setup

1. Add Razorpay Keys

Go to RazorForms β†’ Settings and enter your Razorpay Key ID.
Get keys from: Razorpay Dashboard β†’ Settings β†’ API Keys

Use rzp_test_ keys for testing, rzp_live_ for production.

2. Configure Webhook (Recommended)

Copy the Webhook URL from Settings and add it in Razorpay β†’ Webhooks.
Enable events: payment.captured, payment.failed, refund.created.
Add a Webhook Secret in both Razorpay and RazorForms Settings.

3. Create a Form

Go to RazorForms β†’ Payment Forms β†’ Add New.
Use the 4-tab builder to set up your form, then Publish.

4. Embed the Form

Copy the shortcode from the Shortcode meta box:

[razorform id="YOUR_FORM_ID"]

Paste into any page, post, Elementor shortcode widget, or Gutenberg block.


Email Tokens

Use these in subject lines and headline fields:

Token Replaced with
{id} Submission number
{form} Form name
{amount} Amount paid
{name} Client full name
{email} Client email
{brand} Brand / site name
{txn} Razorpay payment ID

Example subject: New Payment Received | β‚Ή{amount} from {name}
Result: New Payment Received | β‚Ή1,000.00 from Umesh Kumar


Changelog

v1.3.0

  • PDF receipt generator (single-page, branded, print/save as PDF)
  • Email template designer: brand name, header colour, title colour, body colour
  • HTML footer support in emails and receipts
  • Custom email subject + headline with token variables
  • Required/Optional toggle on core fields (Name, Email, Phone)
  • Additional fields redesigned to match core field card style
  • Bug fix: Item list no longer resets after form update (double-guard: PHP meta check + JS DOM check)
  • Bug fix: Email preview cards now reflect saved colour and brand settings
  • Success popup close button (βœ•) added
  • Settings cleanup: shortcode section removed, email fields merged

v1.2.0

  • Frontend custom price input visibility fix (label β†’ div restructure)
  • Admin menu deduplication
  • Correct Dashboard landing page for RazorForms menu icon
  • Author cards fully clickable

v1.1.0

  • Templates tab removed (agency layout auto-applied)
  • Pricing tab renamed to Item List
  • Core fields made editable
  • About/Dashboard page added
  • Layout fixed to Split

v1.0.0

  • Initial release

Requirements

Requirement Version
WordPress 6.0+
PHP 8.0+
Razorpay Account Any plan

Credits

Developed by Digiasylum
Lead Developer: Umesh Kumar Sahai


License

GPL v2 or later β€” see LICENSE

About

RazorForms is a visual payment form builder for WordPress powered by the Razorpay payment gateway. Create professional payment forms in minutes with the drag-and-drop builder, send branded email confirmations, and track every payment inside your WordPress dashboard.

Topics

Resources

Stars

Watchers

Forks

Contributors