
前言介紹
- 這款 WordPress 外掛「FormPays Pro」是 2025-10-16 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2025-10-27,距離現在已有 122 天。
- 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
payu | forms | payment | razorpay | form payment |
內容簡介
```html
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<h3>FormPays Pro 外掛總結:</h3>
<ul>
<li>FormPays Pro 是一個全面的付款表單外掛程式,旨在使線上付款變得簡單且安全。</li>
<li>無論您經營小型企業還是大型網站,此外掛提供您收集付款的一切所需。</li>
<li>從靈活的付款形式到企業級安全性,FormPays Pro 旨在簡化企業、非營利組織和教育機構的線上付款。</li>
</ul>
<h3>問題與答案:</h3>
<h4>1. FormPays Pro 提供哪些核心功能?</h4>
<ul>
<li>自訂付款表單:創建帶有自訂字段的無限付款表單</li>
<li>多個支付網關:支持 Razorpay 和 PayU(更多即將推出)</li>
<li>條件邏輯:根據用戶選擇顯示/隱藏字段</li>
<li>短碼支援:輕鬆嵌入 [formpays_pro_payment_form id="123"]</li>
<li>交易管理:完整的付款跟踪和管理</li>
<li>電子郵件通知:付款和失敗的自動通知</li>
</ul>
<h4>2. FormPays Pro 連接了哪些第三方支付網關服務?</h4>
<ul>
<li>Razorpay、PayU、PayPal 和 PhonePe</li>
</ul>
</body>
</html>
```
此HTML代碼包含了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!
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「FormPays Pro」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
WPForms – Easy Form Builder for WordPress – Contact Forms, Payment Forms, Surveys, & More 》f="https://wpforms.com/features/pre-built-form-templates/?utm_source=wprepo&utm_medium=link&utm_campaign=liteplugin" rel="friend nofollow u...。
Ninja Forms – The Contact Form Builder That Grows With You 》建立最親切易用的 WordPress 聯絡表單建構工具, , 使用 Ninja Forms 創建漂亮、親切的 WordPress 表單,讓您感覺像專業網站開發者!, , 100%適合初學者, , ...。
Forminator Forms – Contact Form, Payment Form & Custom Form Builder 》不同於傳統的表單製作外掛,Forminator 是一款易於使用的 WordPress 表單建立外掛,適用於任何網站和情境。它是建立各式各樣表單的最簡單方法-如聯絡表單、...。
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 》Fluent Forms - 最佳和最快速的聯繫表格建立 WordPress 插件, Fluent Forms 是一個終極使用者友好、可自訂拖放式 WordPress 聯繫表格插件,提供您所有高級功...。
SureForms – Contact Form, Payment Form & Other Custom Form Builder 》<!DOCTYPE html>, <html lang="zh-TW">, <head>, <meta charset="UTF-8">, </head>, <body>, , &l...。
Formidable Forms – Contact Form Plugin, Survey, Quiz, Payment, Calculator Form & Custom Form Builder 》最先進的 WordPress 表單外掛。使用我們的拖放表單建構器,您可以超越聯絡表單,製作調查問卷、測驗等更多應用。, 市場上最強大的 WordPress 表單建構器外掛,...。CMB2 》CMB2 是一個開發人員的工具包,用於在 WordPress 上構建 metabox,自定義字段和表單,可以讓您震撼。輕鬆管理帖子、條款、用戶、評論的元數據,或創建自定義...。
HubSpot All-In-One Marketing – Forms, Popups, Live Chat 》h HubSpot, you can easily create and manage email marketing campaigns through the HubSpot WordPress plugin., Live Chat & Chatbots, Engage with ...。
Brevo – Email, SMS, Web Push, Chat, and more. 》Sendinblue 的官方 WordPress 外掛程式是一個功能強大的全方位電子郵件行銷外掛程式。以下是一些概觀:, , 訂閱表單 – 建立自訂訂閱表單,輕鬆整合到文章、頁...。Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder 》Everest Forms:WordPress 網站上的#1表單建立解決方案, 👉試用一下 (點擊此鏈接可創建演示,測試 Everest Forms。), Everest Forms是最好的WordPress表單...。
Crowdsignal Forms 》The Crowdsignal Forms 外掛可以讓您直接在區塊編輯器中建立和管理投票。, 建立投票與編寫項目清單一樣簡單快速,不再需要嵌入區塊或複製、貼上。, 自訂投票...。
Conditional Fields for Contact Form 7 》此外掛可以讓您的 Contact Form 7 表單加入條件式邏輯。, 當您編輯您的 CF7 表單時,您會看到一個額外的標籤,名為「條件式欄位群組」。您放置在起始標籤和結...。
JetFormBuilder — Dynamic Blocks Form Builder 》JetFormBuilder — 動態區塊表單建立器, 這個功能強大且易於使用的表單建立器外掛讓你在區塊編輯器(Gutenberg)中建立、編輯和設計進階表單類型,不再需要其...。
Ultra Addons for Contact Form 7 》ate a grid or column layout with Contact Form 7 using the Columns / Grid Layout Addon in Ultimate Addons For Contact Form 7. This allows you to dis...。
Contact Form & SMTP Plugin for WordPress by PirateForms 》Pirate Forms 已不再進行活躍開發。我們建議使用 WPForms,因為它是市場上最方便新手使用的 WordPress 聯絡表單外掛程式。, , 在 2018 年 9 月,Pirate Forms...。
