Plugin Name: Customizable Payment Link Generator
Description: A PipraPay module to generate multiple, highly customizable payment links for fixed prices, custom amounts, or simple products.
Version: 3.1.1
Author: Refat Rahman
License: GPL-2.0+
Requires at least PipraPay version: 1.0.0
Tested up to: 1.0.3
Donate link: Donate
-
Multiple Links: Create and manage unlimited payment links, each with its own unique settings.
-
Enable/Disable Links: Easily toggle any payment link on or off.
-
Advanced Amount Controls:
- Fixed Amount Mode: Set a specific, non-editable price for a link.
- Custom Amount Mode: Allow users to enter their own amount.
- Min/Max Amounts: Enforce minimum or maximum payment amounts for custom links.
- Suggested Amounts: Display "chips" (e.g., $10, $25, $50) for easy amount selection.
-
Stock & Quantity Control:
- Allow Quantity: Enable a quantity field for fixed-price links, perfect for selling simple products or services.
- Inventory Management: Set a "Total Stock" for an item, which automatically decreases on successful purchase. Links are disabled when stock reaches zero.
-
Advanced Form Builder:
- Standard Fields: Set Customer Name and Email/Phone fields to be Required, Optional, or Disabled.
- Custom Fields: Add unlimited custom fields to your form to collect extra data.
- Field Types: Supports Text, Text Area, Dropdown Select, Checkboxes, and Radio Buttons.
- Validation: Mark fields as "Required" and enable/disable them individually.
-
Admin Dashboard & Reporting:
- Reports Tab: View a dashboard of total revenue, transaction counts, and items sold per link. Filter reports by a date range.
- Transactions Tab: View all transactions generated by the plugin with pagination.
- Advanced Filtering: Filter the transaction list by Status (e.g., completed, pending), Date Range, or a Search Term (Payment ID, Name, Trx ID, etc.).
- Bulk Actions: Select multiple transactions and bulk delete them.
- Transaction Details: View detailed information for each transaction, including any custom field data submitted.
-
Branding & Customization:
- Custom Title & Description: Set a unique title and description for each link's page.
- Custom Logo & Favicon: Brand each link's page with its own logo and favicon.
- Instruction Notice: Add a custom instruction block (with line break support) that appears above the payment form.
- Custom Footer Text: Edit the "Secure Payment" footer text.
-
URL & Redirects:
- Pretty Link (Permalinks): Use clean, user-friendly URLs (e.g.,
yourdomain.com/pay) that are automatically managed in your.htaccessfile. - Custom Success Redirect: Optionally redirect users to a custom "Thank You" URL after a successful payment.
- Branded Status Pages: The success, pending, and cancel pages are all branded with your link's logo.
- Pretty Link (Permalinks): Use clean, user-friendly URLs (e.g.,
-
Flexible Currency Options: Use the system default currency or set a specific currency for each individual link.
-
Built-in Update Checker: Get notified of new versions from your admin dashboard.
- Flexibility: Perfect for donations (custom amount with suggestions), invoicing (fixed amount), custom services (custom amount with a minimum), or selling simple products (fixed amount with quantity & stock).
- Branding: Customize each payment page to match its purpose or brand.
- Data Collection: Collect all the information you need (like a Student ID, Invoice Number, or T-Shirt Size) directly with the payment using the advanced form builder.
- Easy to Manage: Configure all settings and track all transactions and reports from a single, user-friendly interface in your admin dashboard.
- Download the plugin.
- Upload the
customizable-payment-link-generatorfolder to your PipraPaymodulessection (e.g.,pp-content/plugins/modules/). - Activate the plugin from PipraPay's module settings.
- Go to Admin Dashboard → Module → Customizable Payment Link Generator.
- Configure your links!
- Feature: Updated Standard Fields (Name, Contact) to support "Required", "Optional", and "Disabled" modes instead of just on/off.
- Fix: Corrected a bug where newlines in the Instruction Text field were not displaying properly on the admin edit page.
- Feature: Added Stock & Quantity Control for fixed-price links, allowing for simple product sales and inventory management.
- Feature: Added Advanced Transaction Filtering to the Transactions tab (filter by Status, Date Range, and Search).
- Feature: Added Bulk Deletion for transactions on the Transactions tab.
- Feature: Expanded Advanced Form Builder to support Text Area, Dropdown Select, Checkboxes, and Radio Buttons (previously only Text).
- Feature: Added "Items Sold" count to the Reports page.
- Feature: Implemented Multiple Link Support. You can now create unlimited links.
- Feature: Added Advanced Amount Controls per link:
- Fixed Amount Mode (new)
- Custom Amount Mode (existing)
- Minimum & Maximum Amount controls
- Suggested Amount "Chips"
- Feature: Added Basic Form Builder to add custom text fields (e.g., "Invoice Number") to links.
- Feature: Added Custom Success Redirect URL option per link.
- Feature: Added Reporting Page in admin to see revenue and transaction counts per link.
- Refactor: Major database update to store settings on a per-link basis in a new table.
- Refactor: Overhauled Admin UI with a tabbed interface (Links, Reports) and new forms.
- Refactor: Updated public
link.phpto render all new options and perform server-side validation. - Refactor: Updated
success.phpto handle the new custom redirect logic.
- Fix: Replaced deprecated
FILTER_SANITIZE_STRING. - Fix: Corrected "Undefined array key default_currency" PHP warning.
- Tweak: Moved update checker and added developer info block.
- Feature: Added "Use system currency" option.
- Fix: Resolved a fatal PHP error on the admin page.
- Fix: Patched critical "Use system currency" bug.
- Initial release.