FormPays Pro
FormPays Pro is a comprehensive payment form plugin designed to make online payments simple and secure. Whether you’re running a small business or a large site, this plugin provides everything you need to collect payments through custom forms. From flexible payment forms to enterprise-grade security, FormPays Pro is designed to simplify online payments for businesses, nonprofits, and educators. Core Features Custom Payment Forms: Create unlimited payment forms with custom fields Multiple Payment Gateways: Support for Razorpay and PayU (more coming soon) Conditional Logic: Show/hide fields based on user selections Shortcode Support: Easy embedding with [formpays_pro_payment_form id="123"] Transaction Management: Complete payment tracking and management Email Notifications: Automatic notifications for payments and failures Email Templates: Customize notification emails for customers and admins Payment Gateways Razorpay: Cards, UPI, NetBanking, Wallets PayU: Cards, UPI, NetBanking, Wallets Test Mode: Development and testing support Webhook Integration: Automatic payment status updates Form Builder Field Types: Text, Email, Phone, Number, Select, Radio, Checkbox, Textarea Custom Fields: Add unlimited custom fields Required Fields: Mark fields as required Field Validation: Built-in validation for all field types Drag & Drop: Easy field reordering Admin Features Dashboard: Overview of forms, transactions, and revenue Form Management: Create, edit, and delete payment forms Transaction Tracking: View all payments with filters and export Gateway Settings: Secure configuration for payment gateways Email Templates: Customize notification emails Security Features Nonce Verification: CSRF protection for all forms Input Sanitization: All user inputs are sanitized Encrypted Storage: Sensitive gateway credentials are encrypted Webhook Verification: Secure webhook handling with signature verification Permission Checks: Admin-only access to sensitive operations External Services This plugin connects to third-party payment gateway services to process payments. Below is detailed information about each service: Razorpay What it is: Payment gateway service for processing online payments in India When data is sent: When a user submits a payment form using Razorpay gateway Data sent: Customer name, email, mobile number, payment amount, currency, order details Purpose: To create payment orders and process payments securely Service URL: https://razorpay.com/ Terms of Service: https://razorpay.com/terms/ Privacy Policy: https://razorpay.com/privacy/ Documentation: https://razorpay.com/docs/ PayU What it is: Payment gateway service for processing online payments When data is sent: When a user submits a payment form using PayU gateway Data sent: Customer name, email, mobile number, payment amount, currency, order details Purpose: To create payment orders and process payments securely Service URL: https://payu.in/ Terms of Service: https://payu.in/terms-of-use Privacy Policy: https://payu.in/privacy-policy Documentation: https://docs.payu.com/ PayPal What it is: Global payment gateway service for processing online payments When data is sent: When a user submits a payment form using PayPal gateway Data sent: Customer name, email, payment amount, currency, order details Purpose: To create payment orders and process payments securely Service URL: https://paypal.com/ Terms of Service: https://www.paypal.com/us/legalhub/useragreement-full Privacy Policy: https://www.paypal.com/us/legalhub/privacy-full Documentation: https://developer.paypal.com/ PhonePe What it is: Digital payment platform for processing UPI and other payments in India When data is sent: When a user submits a payment form using PhonePe gateway Data sent: Customer name, email, mobile number, payment amount, currency, order details Purpose: To create payment orders and process payments securely Service URL: https://phonepe.com/ Terms of Service: https://www.phonepe.com/terms-and-conditions/ Privacy Policy: https://www.phonepe.com/privacy-policy/ Documentation: https://developer.phonepe.com/ Instamojo What it is: Payment gateway service for processing online payments in India When data is sent: When a user submits a payment form using Instamojo gateway Data sent: Customer name, email, mobile number, payment amount, currency, order details Purpose: To create payment orders and process payments securely Service URL: https://instamojo.com/ Terms of Service: https://instamojo.com/terms/ Privacy Policy: https://instamojo.com/privacy/ Documentation: https://docs.instamojo.com/ Data Security: All payment data is transmitted securely using HTTPS encryption. Customer payment details (card numbers, etc.) are handled directly by the payment gateways and never stored on your WordPress site. User Consent: By using payment forms created with this plugin, users consent to their payment data being processed by the selected payment gateway according to that gateway’s terms and privacy policy. Requirements WordPress 5.0 or higher PHP 7.4 or higher MySQL 5.6 or higher SSL certificate (recommended for production) Configuration 1. Gateway Setup Go to FormPays Pro → Settings Select your preferred payment gateway Enter your gateway credentials: Razorpay: Key ID, Key Secret, Webhook Secret PayU: Merchant Key, Salt Key, Authorization Header 2. Create Your First Form Go to FormPays Pro → Forms → Add New Fill in form details (title, description, gateway) Add fields (Name, Email, Mobile, Amount, etc.) Set up conditional logic if needed Save the form 3. Embed the Form Use the generated shortcode in any post or page: [formpays_pro_payment_form id=”1″] Usage Creating Payment Forms Basic form structure: php $form_data = array( 'title' => 'Product Payment', 'description' => 'Complete your purchase', 'gateway' => 'razorpay', 'amount_type' => 'fixed', 'fixed_amount' => 999.00, 'currency' => 'INR', 'fields' => array( array( 'id' => 'name', 'label' => 'Full Name', 'type' => 'text', 'required' => true ), array( 'id' => 'email', 'label' => 'Email Address', 'type' => 'email', 'required' => true ), array( 'id' => 'mobile', 'label' => 'Mobile Number', 'type' => 'tel', 'required' => true ) ) ); Conditional Logic `php $conditional_logic = array( array( ‘field’ => ‘payment_type’, ‘operator’ => ‘equals’, ‘value’ => ‘business’, ‘action’ => ‘show’, ‘target’ => ‘company_name’ ) ); ` Payment Processing Form submission: `php add_action(‘wp_ajax_formpays_pro_submit_form’, ‘handle_payment’); add_action(‘wp_ajax_nopriv_formpays_pro_submit_form’, ‘handle_payment’); function handle_payment() { // Form data is automatically processed // Payment gateway is initialized // User is redirected to payment page } ` Webhook handling: php // Webhook endpoints are automatically created // /wp-json/formpays-pro/v1/webhook/razorpay // /wp-json/formpays-pro/v1/webhook/payu Transaction Management Get transaction: php global $formpays_pro; $transaction = $formpays_pro->transactions->get_transaction('TXN_123'); Update status: php $result = $formpays_pro->transactions->update_transaction_status( 'TXN_123', 'success' ); Customization Styling The plugin includes CSS classes for easy customization: css .formpays-pro-form-wrapper { /* Form container */ } .formpays-pro-field { /* Individual field */ } .formpays-pro-field-label { /* Field labels */ } .formpays-pro-field-input { /* Field inputs */ } .formpays-pro-submit-btn { /* Submit button */ } JavaScript Events `javascript // Form submission events jQuery(document).on(‘formpays_pro_form_submit’, function(e, formData) { // Custom handling before submission }); // Payment success events jQuery(document).on(‘formpays_pro_payment_success’, function(e, response) { // Custom handling after successful payment }); ` Hooks and Filters `php // Modify form data before processing add_filter(‘formpays_pro_form_data’, ‘modify_form_data’, 10, 2); // Custom payment validation add_filter(‘formpays_pro_validate_payment’, ‘custom_validation’, 10, 2); // Modify email content add_filter(‘formpays_pro_email_content’, ‘customize_email’, 10, 3); ` Testing Test Mode Both Razorpay and PayU support test mode: 1. Enable test mode in gateway settings 2. Use test credentials from your gateway dashboard 3. Test complete payment flow without real charges Test Cards Razorpay: * Success: 4111 1111 1111 1111 * Failure: 4000 0000 0000 0002 PayU: * Success: 4012 0000 0000 0000 * Failure: 4000 0000 0000 0002 Email Notifications Available Notifications Payment Success – Customer: Confirmation email to customer with transaction details Payment Success – Admin: Notification to admin about successful payment Payment Failed – Customer: Failure notification with retry information Payment Failed – Admin: Alert to admin about failed payment Email Template Customization Go to FormPays Pro → Email Notifications Customize email templates with dynamic placeholders: {transaction_id} – Transaction ID {amount} – Payment amount {customer_name} – Customer name {customer_email} – Customer email {payment_date} – Payment date and time {payment_method} – Selected payment method {form_title} – Form title {site_name} – Your site name Enable/disable individual email notifications Test email functionality to verify settings Customization `php // Modify email templates add_filter(‘formpays_pro_email_template’, ‘custom_email_template’, 10, 3); // Add custom notification recipients add_filter(‘formpays_pro_admin_emails’, ‘add_custom_emails’); ` Troubleshooting Common Issues Payment Not Processing: 1. Check gateway credentials 2. Verify webhook URLs are set correctly 3. Check server logs for errors 4. Ensure SSL is enabled (for live mode) Forms Not Displaying: 1. Check if form is published 2. Verify shortcode syntax 3. Check for JavaScript conflicts 4. Review browser console for errors Webhook Issues: 1. Verify webhook secret is correct 2. Check webhook URL accessibility 3. Review server logs for webhook failures 4. Test webhook endpoint manually Debug Mode Enable WordPress debug mode for detailed error logging: php // wp-config.php define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); API Reference REST API Endpoints ` GET /wp-json/formpays-pro/v1/forms/{id} GET /wp-json/formpays-pro/v1/transactions/{id} POST /wp-json/formpays-pro/v1/webhook/{gateway} ` AJAX Actions `php // Form submission wp_ajax_formpays_pro_submit_form wp_ajax_nopriv_formpays_pro_submit_form // Admin actions wp_ajax_formpays_pro_save_form wp_ajax_formpays_pro_delete_form wp_ajax_formpays_pro_save_gateway_settings ` Contributing We welcome contributions! Please follow these steps: Fork the repository (https://github.com/sanyogs/formpays-pro) Create a feature branch Make your changes Add tests if applicable Submit a pull request License This plugin is licensed under the GPL v2 or later. Acknowledgments WordPress community for the amazing platform Razorpay and PayU for their excellent APIs All contributors and beta testers FormPays Pro – Making payment forms simple and powerful!
Top keywords
- payment67×4.43%
- form34×2.25%
- email25×1.65%
- formpays25×1.65%
- gateway24×1.59%
- formpays pro23×1.52%
- pro23×1.52%
- https22×1.45%
- com18×1.19%
- data18×1.19%
- payments16×1.06%
- service15×0.99%
WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More
WordPress Contact Form Builder Plugin WPForms is an AI drag & drop WordPress form builder that’s EASY and POWERFUL. Create contact forms, feedback forms, subscription forms, payment forms (including Stripe, Square & PayPal), and other types of forms for your site in minutes with just a few clicks! At WPForms, user experience is our #1 priority. Our pre-built form templates and workflows make WPForms the most beginner-friendly contact form plugin on the market. You don’t have to hire a developer. Create a form in less than 5 minutes with our drag & drop form builder, using a template or just asking AI to get a head start. WPForms Pro This plugin is the Lite version of WPForms Pro, which comes with email subscription forms, multi-page contact forms, file uploads, conditional logic, and extra payment integrations. Click here to purchase the best premium WordPress contact form plugin now! AI-Powered Drag & Drop Contact Form Builder Create custom contact forms in minutes with our easy-to-use drag and drop online form builder or just ask AI to build it for you. But don’t just take our word for it. See what WordPress experts are saying: WPForms is by far the easiest form plugin to use. My clients love WPForms and it’s one of the few plugins they can use without any training. As a developer I appreciate how fast, modern, clean and extensible it is. Bill Erickson – Expert WordPress Consultant Pre-built Form Templates WPForms comes with 2100+ pre-built form templates. Whether you’re looking to create a simple contact form, marketing form, request a quote form, donation form, payment order form, registration form, survey form, quiz form, Stripe payment form, or a subscription form, we have a form template already prepared and ready to use. Mobile Ready, SEO Friendly, and Optimized for Speed WPForms contact forms are 100% responsive and mobile-friendly. We optimized every query on the frontend and the backend to ensure that it’s one of the fastest WordPress contact form plugins. You can embed your contact form on any page with an optimized title and description, so WPForms is one of the most SEO friendly contact form plugins too. Fields & Features You Need to Succeed With star ratings, file uploads, repeater fields, survey fields, and multi-page contact forms, you can easily build the right custom form for your site’s needs. Plus, integrate your contact forms with an email marketing service in just a few steps and collect payments with Stripe, PayPal, and Square for bookings and orders without the need for a dedicated eCommerce plugin. See what one business owner has to say about their WPForms contact form: As a business owner, time is my most valuable asset. WPForms allows me to create smart contact forms with just a few clicks. With their pre-built form templates and the drag & drop builder, I can create a new form that works in less than 2 minutes without writing a single line of code. Well worth the investment. David Henzel – Co-founder of MaxCDN Surveys & Polls Create custom survey forms like Survey Monkey. Our WordPress survey plugin addon comes with smart survey fields including Likert scale, star ratings, and NPS. Embed your surveys and polls anywhere in WordPress. Use our survey reporting tools to customize graphs, export them for presentations, and display aggregate results. You can also share poll results instantly when collecting votes. Default WordPress Forms Aside from building simple contact forms, WPForms also helps you create better default WordPress forms, like custom WordPress login forms and custom WordPress user registration forms. Create a password-protected contact form or even a members-only contact form. Bloggers and publishers can use our WordPress post submission forms to accept guest posts, testimonials, and more. Payment Forms, Donation Forms, Booking Forms, and More While WPForms started out as a contact form plugin, it has evolved into a powerful custom forms solution for any type of payment or booking form. WPForms integrates with PayPal, Stripe, Square Payments, Authorize.Net, and Mercado Pago so you can easily accept credit card payments or take payments via PayPal. Bonus: you can also take signatures. We’re proud to be a Stripe Verified Partner. This partnership allows us to build the best Stripe integration with early access to features. You can use our Stripe integration to accept both one-time payments as well as recurring payments while syncing all form data to your Stripe account. Custom Calculator Forms Using the WPForms Calculations addon, you can build custom formulas and display results on the frontend. Create simple arithmetic calculations or build complex conditional calculations with rounded values, averages, time ranges, and more! It’s the best calculator plugin for WordPress. Forms Optimized for Conversions With our Form Pages addon, you can create distraction-free custom form landing pages to increase conversions. To improve form completion rates, we created Conversational Forms which helps you make your feedback forms feel more human by adding an interactive layout. (See Conversational Forms Demo). Easy to Customize and Extend You can easily customize your contact forms with our section dividers, HTML blocks, and CSS. Embedding forms in Elementor and Divi has never been easier thanks to our native integrations. We also know that our developer friends may want more control, so we added tons of hooks and filters. Full WPForms Feature List Online form builder – powerful drag & drop contact form builder. Create WordPress contact forms, payment forms, and other online forms without writing any code. 100% mobile responsive. GDPR friendly. Payment Forms – Take payments, donations, down payments, recurring payments, service payments with our Stripe (FREE) integration. Form templates pre-built and ready to import. Form styling for fields, labels, and buttons. Spam protection built in, plus integrations with hCaptcha, Google reCAPTCHA, and Cloudflare Turnstile. AI Forms to automatically create and refine forms through natural conversation. Instant form notifications via email. Custom form confirmations with success messages or thank you pages. Smart phone field that adapts to your visitor’s location. AI Choices to automatically populate Multiple Choice, Checkboxes, and Dropdown field options. Coupons for free shipping and sale discounts. Calculator forms for payment, shipping, billing, and more. File upload fields for user submissions. Multi-page forms with progress bars. Smart conditional logic to show or hide fields. Repeater field that enables the person filling out the form to easily add another field or group of fields to fill out. Perfect for group registration forms, custom order forms, and more. Signatures for agreements or payment forms. User registration forms and custom login forms. Post submission forms to collect user-generated content. Geolocation to collect location data along with submissions. Surveys and Polls with interactive reports. Quizzes with graded tests, personality quizzes, and scored assessments, plus AI-generated questions. Form abandonment detection to collect partial form submissions. Form locker to control access using passwords, dates, and more. Offline forms to collect submissions without an internet connection. Form landing pages to boost conversions. Conversational forms to boost overall completion rates. Lead forms to get more submissions with multi-step layouts. Webhooks to send data without third party connectors. User Journey reports so you know which content is driving form conversions. Save and Resume to let visitors save and come back later. Entry Automation to export and delete form entries on a daily, weekly, or monthly basis. Integrations Google Sheets Zapier PayPal Commerce Stripe – We’re a Stripe Verified Partner for Payments. Square Authorize.Net Mercado Pago Mailchimp AWeber Campaign Monitor GetResponse Constant Contact Airtable Notion Drip ActiveCampaign HubSpot Brevo MailerLite MailPoet ConvertKit Klaviyo SendGrid Salesforce Slack Dropbox Google Calendar Google Drive Twilio Pipedrive Make Zoho CRM You can see why WPForms is the best WordPress contact form plugin on the market! Want to unlock these features? Upgrade to our Pro version. Credits This plugin is created by Syed Balkhi. Branding Guidelines WPForms® is a registered trademark of WPForms LLC. When writing about the contact form plugin by WPForms, please make sure to uppercase the initial 3 letters. WPForms (correct) WP Forms (incorrect) wpforms (incorrect) wpform (incorrect) Notes WPForms is absolutely, positively the most beginner-friendly WordPress contact form plugin on the market. It is both easy and powerful. We took the pain out of creating online forms and made it easy. Check out all WPForms features. Also, I’m the founder of WPBeginner, the largest WordPress resource site for beginners. It was a huge priority for me to make a WordPress contact form plugin that beginners can use without any training. I feel that we have done that here. I hope you enjoy using WPForms. Thank you, Syed Balkhi