=== WPSmartPay – Payment Forms, Invoices, Donations & Subscriptions ===
Contributors: converswp
Tags: payment forms, stripe, paypal, invoices, donations
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.1
Stable Tag: 3.0.0
License: GPL-3.0-or-later

Accept payments, send invoices, and collect donations on WordPress. Connect Stripe, PayPal, Authorize.net, and more — no store or cart required.

== Description ==

**WPSmartPay** is the simplest way to accept payments, send professional invoices, and collect donations on WordPress.

No complex store setup. No bloated cart plugin. Just create a payment form, connect a gateway, and start getting paid — in minutes.

Use it to invoice clients, accept one-time or recurring donations or charge for services. WPSmartPay handles the money side so you can focus on the work.

[youtube http://www.youtube.com/watch?v=PdqA7XNH60Q]

---

### ✅ What's New in Version 3.0

**New:**

* **New - Rebuilt Gutenberg payment form builder** — Design payment forms visually using the WordPress block editor. No page builders required.
* **Invoice Management** — Create, send, and track professional invoices directly from your WordPress dashboard.
* **Advanced Reports** — Revenue charts, payment trends, and subscription metrics with date-range filters.
* **Anti-Spam Control System** — Protect payment forms with 3 built-in integrations: **Cloudflare Turnstile**, **hCaptcha**, and **reCAPTCHA v3**.
* **Tax Control System** — Define tax rates (percentage or fixed) and apply them globally or per form.
* **Email Templates & Controls** — Customizable transactional emails with full subject, heading, and content control.
* **Redesigned Dashboard** — Real-time overview of revenue, recent transactions, and key business metrics.
* **Onboarding Wizard** — Step-by-step guided setup for currency, pages, and gateway in minutes.
* **Support & System Info Page** — Built-in hub for system information, documentation, and debug log access.

**Improved:**

* **Modern Admin UI** — The entire plugin has a new, clean, professional interface built for speed and clarity.
* **Better Page Experiences** — Subscriptions, Payments, Customers, Coupons, Integrations, and Settings pages are all faster and easier to use.

---

### Invoicing Built Into WordPress

Stop switching between tools. WPSmartPay lets you create and send professional invoices without leaving the WordPress admin.

* Generate invoices for one-time or recurring payments
* Send to customers by email in one click
* Track status: Draft → Sent → Paid → Overdue
* Customize with your logo and business details

---

### Accept Payments Your Way

Connect the gateway that fits your business and start accepting payments immediately:

* **Stripe** *(Pro — most popular)* — Cards, Apple Pay, Google Pay, Link
* **PayPal Standard** — Free, trusted, works out of the box
* **Authorize.net** *(Pro)* — Industry-standard gateway for US businesses
* **Mollie** *(Pro)* — Ideal for European businesses
* **Paddle** *(Pro)* — Global merchant of record; handles tax automatically
* **Razorpay** *(Pro)* — Best for India-based businesses
* **toyyibPay** *(Pro)* — Malaysian online banking gateway
* **Paytm** *(Pro)* — Popular Indian payment gateway
* **bKash** *(Pro)* — Mobile banking payments in Bangladesh

---

### Donations Made Simple

Set up a donation form in minutes. Accept one-time or recurring donations from supporters worldwide.

* Let donors choose their own amount with the custom amount field
* Collect recurring donations with subscription billing *(Pro)*
* Send automatic thank-you emails on every donation
* Works with PayPal, Stripe, and all supported gateways

---

### Native Gutenberg Payment Form Builder

Build payment forms the WordPress way — with blocks. Live preview as you design.

* Drag-and-drop fields: name, email, address, phone, and more
* Flexible pricing: fixed price, custom amount, or pricing tiers
* Start from the **template library** or build from scratch
* Embed anywhere: block, shortcode, or popup overlay

---

### Anti-Spam Protection

Stop bot abuse before it reaches your payment processor. Choose from 3 built-in integrations:

* **Cloudflare Turnstile** — Privacy-first, invisible to real users
* **hCaptcha** — GDPR-compliant with high bot-detection accuracy
* **reCAPTCHA v3** — Score-based, never interrupts real customers

---

### Tax Control

Stay compliant without extra plugins:

* Percentage or fixed-amount tax rates
* Apply globally or per payment form
* Tax line shown clearly on checkout and receipts

---

### Reports & Analytics

* Total revenue, payment count, and average order value
* Subscription revenue and trends over time
* Date-range filters: today, this week, this month, custom
* Clean data tables

---

### Who Is WPSmartPay For?

* **Freelancers & Agencies** — Invoice clients and accept one-time or recurring service payments
* **Coaches & Consultants** — Charge for sessions, courses
* **Nonprofits & Charities** — Accept one-time and recurring donations
* **Content Creators** — Sell eBooks, templates, audio, and digital files
* **Event Organizers** — Ticket sales and event registrations
* **Fitness & Wellness Studios** — Sell subscription and class packages

---

### Free Features at a Glance

* Native Gutenberg payment form builder + template library
* Invoice management (create, send, track)
* Anti-spam: Cloudflare Turnstile, hCaptcha, reCAPTCHA v3
* Tax control system
* Advanced reports & analytics dashboard
* Customizable email templates
* Guided onboarding wizard
* Support & system info page
* Customer management
* Coupon codes
* PayPal Standard + manual/free payment gateway
* Test mode for safe development
* GDPR-friendly
* Developer hooks and filters

---

### WPSmartPay Pro

Unlock more with [WPSmartPay Pro](https://wpsmartpay.com/pricing/):

**Pro Payment Gateways:**
Stripe · Authorize.net · Paddle · Razorpay · Mollie · bKash · toyyibPay · Paytm

**Subscriptions & Recurring Billing:**
* Recurring plans on forms and products
* Billing cycles and installment plans
* Renewal reminder emails

**Advanced Coupon Management:**
* Bulk coupon generation
* Per-coupon and per-customer usage limits
* Percentage or fixed discounts with expiry dates

**Outgoing Webhooks:**
* Fire payment events to any URL in real time
* HMAC-SHA256 signed requests
* Works with Zapier, Make, n8n, and custom endpoints

**Marketing & Automation Integrations:**
Mailchimp · MailerLite · FluentCRM · AffiliateWP · Pabbly · Zapier

[**Get WPSmartPay Pro →**](https://wpsmartpay.com/pricing/)

---

#### Gateway Coverage

* **Stripe (Pro — most popular)** — 47+ countries, 135+ currencies
* **PayPal** — 200+ countries, 25 currencies
* **Authorize.net (Pro)** — US-focused; USD, CAD, GBP, EUR and more
* **Mollie (Pro)** — European Economic Area (EEA)
* **Paddle (Pro)** — Global merchant of record; handles VAT and sales tax worldwide
* **Razorpay (Pro)** — India, 100+ currencies
* **toyyibPay (Pro)** — Malaysia (MYR)
* **Paytm (Pro)** — India (INR)
* **bKash (Pro)** — Bangladesh (BDT)

---

#### Get Help

* [Documentation](https://wpsmartpay.com/docs/)
* Built-in System Info & Debug Log (WPSmartPay → Support)
* Priority email support for Pro users
 
[Purchase WPSmartPay Pro](https://wpsmartpay.com/pricing/) for priority support.

== Installation ==

1. Go to **Plugins → Add New** in your WordPress dashboard.
2. Search for **"WPSmartPay"**.
3. Click **Install Now**, then **Activate Plugin**.
4. Follow the **Setup Wizard** to configure your currency, pages, and first payment gateway.
5. Go to **WPSmartPay → Forms** to create your first payment form.

== Frequently Asked Questions ==

= Is WPSmartPay free? =
Yes. The core plugin is completely free and includes the Gutenberg form builder, invoice management, tax control, anti-spam protection, reports, email templates, and PayPal Standard gateway.

= Which payment gateways are supported? =
Free: PayPal Standard and Manual/Free gateway. Pro: Stripe, Authorize.net, Paddle, Razorpay, Mollie, bKash, toyyibPay, Paytm.

= Can I send invoices from WordPress? =
Yes. WPSmartPay includes a built-in invoice management system. Create invoices, send them to customers by email, and track their status — all from the WordPress admin.

= Does WPSmartPay support recurring donations? =
Yes — recurring subscription billing is available with WPSmartPay Pro.

= Is it GDPR compliant? =
Yes. Payment card data is never stored on your server — all sensitive data is handled directly by the payment gateway. Turnstile and hCaptcha are privacy-first options; reCAPTCHA v3 is also supported for teams already using Google's ecosystem.

= Can I accept donations? =
Yes. Enable the custom amount field on any payment form to accept one-time donations. Recurring donations are available with Pro.

= Does it work with the Gutenberg block editor? =
Yes — the form builder is built entirely on Gutenberg blocks and integrates natively with the WordPress editor.

== Screenshots ==
1. Payment form builder — native Gutenberg blocks with live preview.
2. Form template library — pick a template or build from scratch.
3. Invoice management — create, send, and track invoices.
4. Settings → Payment Gateways — active and Pro-locked gateway cards.
5. Reports dashboard — revenue charts and payment metrics.
6. Anti-spam settings — Turnstile, hCaptcha, and reCAPTCHA v3.
7. Guided onboarding wizard for new users.
8. Support page — system info, docs, and debug log.

== Changelog ==

= 3.0.0 = 
* New - Rebuilt Gutenberg payment form builder with live block preview
* New - Form template library with ready-made templates across categories
* New - Invoice management: create, send, and track invoices from WP admin
* New - Advanced reports dashboard with revenue charts and date-range filters
* New - Anti-spam control: Cloudflare Turnstile, hCaptcha, reCAPTCHA v3
* New - Tax control system: percentage and fixed-amount rates, global or per-form
* New - Redesigned email templates with subject, heading, and content controls
* New - Dashboard redesign: revenue overview, recent payments, quick actions
* New - Guided onboarding wizard for currency, pages, and gateway setup
* New - Support page: system info, documentation links, and debug log
* New - Payment gateways managed from Settings → Payment Gateways; Pro gateway locked cards shown when Pro is not active
* New - Legacy form migrator: recovers pre-3.0 forms with stale block markup
* Improved - Entire admin UI redesigned with a modern, accessible interface
* Improved - Subscriptions, Payments, Customers, Coupons, Integrations, and Settings pages redesigned for speed and usability
* Fix - Legacy form builder no longer shows "invalid content" for migrated forms
* Fix - Pricing and submit blocks rebuilt to match current native form format

= 2.8.3 = 
* Security - Direct file access protection added to all PHP files
* Fix - PHP 8.1 nullable parameter compatibility in framework classes
* Fix - WordPress Plugin Check compliance: escaping, i18n, sanitization
* Update - Tested up to WordPress 6.9

= 2.8.2 = 
* Fix - Broken form issue

= 2.8.1 = 
* Feature - Coupon validation (frontend & backend)
* Fix - Compatibility issue with Pro version
* Fix - Deprecation issues
* Update - Coupon list UI & UX
* Update - Documentation link

= 2.8.0 = 
* Fix - Major security issues (nonces, escaping, sanitization)
* Fix - Deprecation issues
* Fix - Text domain warnings

= 2.7.13 = 
* Fix - Input sanitization for form submission
* Fix - Text domain warning

= 2.7.12 = 
* Fix - Add instructions to enable payment gateways in Pro version

= 2.7.0 = 
* Add - Paytm payment gateway

= 2.6.7 = 
* Add - toyyibPay payment gateway

= 2.6.1 = 
* New - Mollie payment gateway
* New - Register custom payment gateway hook

= 2.5.0 = 
* Add - Razorpay payment gateway

= 2.4.0 = 
* New - Coupon system
* New - MailerLite integration
* New - Onboarding welcome flow

= 2.0.0 = 
* New - Debug log settings
* New - Customer details page
* New - Monthly report page

= 1.1.0 = 
* New - ReactJS admin SPA
* New - Gutenberg form builder
* New - Dashboard

= 1.0.0 = 
* Initial stable release

== Upgrade Notice ==
= 3.0.0 =
Major release.