=== Pay4All Form ===
Contributors: pay4all
Tags: order form, products, payments, twint
Requires at least: 5.9
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Order forms with products, quantity rules (e.g. wine by carton of 6), delivery and order management. No WooCommerce required.

== Description ==

**Pay4All Form** is a simple, focused order-form plugin for small shops, wineries, caterers, takeaways and clubs. It is intentionally lighter than WooCommerce: you create a form, pick products and delivery methods, and embed it via a shortcode.

= Core features =

* Drag-and-drop **form builder** with all common field types
* **Products** with photo, price, sale price, min/max/step quantities, short description
* **Categories with quantity rules** — including *minimum + multiple* (e.g. wine sold by carton of 6, you can mix varieties as long as the total is 6, 12, 18…)
* **Delivery methods** — pickup, flat-rate, free, free over an amount, or no delivery
* **Order management** — custom statuses, payment statuses, internal notes
* **E-mails** to the customer and the merchant
* **CSV export** of orders, filterable by date, form, status
* **Privacy API integration** for GDPR export/erase
* Honeypot anti-spam, nonces, server-side validation
* Internationalised (FR, DE, IT, EN)

= Payments included for free =

* Pickup payment
* Cash on delivery
* Bank transfer with IBAN details
* TWINT manual (textual instructions to the customer)

= Pay4All Pro (optional) =

Install **[Pay4All Pro](https://pay4all.ch/)** to add **automated TWINT payments**: the customer pays through their TWINT app at checkout, and the order is marked as Paid automatically without merchant intervention.

Pay4All Form works fully without Pay4All Pro. Pay4All Pro is sold separately at https://pay4all.ch/.

= Use cases =

* Winemakers selling by carton of 6
* Cheese makers selling by half-wheel
* Caterers with weekly order windows
* Local shops with pickup-only ordering
* Clubs taking online registrations with payment

== Installation ==

1. Upload the plugin to `/wp-content/plugins/pay4all-form/` or install via *Plugins › Add New*.
2. Activate the plugin from the *Plugins* menu.
3. Open *Pay4All Form* in the admin sidebar.
4. Create your categories, products, delivery methods, then a form.
5. Copy the form shortcode into any page.

== Frequently Asked Questions ==

= Do I need WooCommerce? =

No. Pay4All Form is standalone. It does not depend on WooCommerce in any way.

= Can I sell wine by carton of 6, but let the customer mix varieties? =

Yes — this is the core use case. Set the category to *Minimum + multiple*, with minimum 6 and multiple 6. The customer can pick any combination of bottles from that category as long as the total is 6, 12, 18, etc.

= Does it support online payments? =

The free version supports manual payments only (pickup, on delivery, bank transfer, TWINT instructions). Automated TWINT payments are available via Pay4All Pro.

= Is the plugin GDPR-friendly? =

Yes. Customer data is included in WordPress's *Tools › Export / Erase Personal Data* workflow.

= Will my data be deleted if I uninstall? =

No, unless you explicitly enable *Réglages › Données › Supprimer les données lors de la désinstallation*.

== Screenshots ==

1. Example of an order form and delivery options.
2. Payment method selection, confirmation and payment via TWINT.
3. Dashboard, order list and language selection.
4. Configure rules linked to a category and add a product.
5. Order form configuration.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
First public release.
