=== Event Waiver for WooCommerce ===
Contributors: devdarren, darrenmc
Tags: woocommerce, waiver, checkout, signature, event
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 1.0.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a waiver agreement to your WooCommerce checkout. Customers review terms and agree before completing their purchase.

== Description ==

Event Waiver for WooCommerce lets you add a waiver or terms agreement to your checkout flow. Perfect for events, rentals, gyms, tours, and any business that needs customer acknowledgement before purchase.

**Features**

* Waiver modal triggered when the customer clicks Place Order — checkout is held until the waiver is signed
* Customisable waiver title, terms (rich text), and button text
* Captures name and email with each waiver
* Saves waiver data to WooCommerce orders
* Waiver records viewable in WooCommerce admin
* Waiver info added to order emails and thank-you page

== Installation ==

1. Upload the `event-waiver-for-woocommerce` folder to `/wp-content/plugins/`
2. Activate the plugin through the Plugins menu
3. Go to WooCommerce → Waiver Settings to configure your waiver title and terms

== Frequently Asked Questions ==

= Does this work with WooCommerce block checkout? =

Currently the plugin works with the classic WooCommerce checkout. Block checkout support is planned for a future release.

= Where is the waiver data stored? =

Waiver data is saved to WooCommerce order meta and as a separate Waiver post type, viewable under WooCommerce → Waivers in your admin.

= Is the waiver legally binding? =

The plugin captures the signer name, email, IP address, and timestamp. Consult your legal advisor about requirements in your jurisdiction.

== Screenshots ==

1. Waiver modal on checkout page
2. Settings page under WooCommerce
3. Waiver info on order edit screen

== Changelog ==

= 1.0.6 =
* Remove all `is_pro` flags and Pro-feature marketing from the WP.org build
* Sanitize `$_POST` before passing to the `evwfwc_waiver_session_data` filter

= 1.0.5 =
* Add `Requires Plugins: woocommerce` plugin header
* Add `darrenmc` to readme Contributors

= 1.0.4 =
* Rename plugin slug to event-waiver-for-woocommerce for WP.org compliance
* Add premium_slug and function_exists guard around Freemius init

= 1.0.3 =
* Escape output in plain-text order email
* Add translators comment on order note string
* Unslash $_SERVER['REMOTE_ADDR'] before sanitization

= 1.0.0 =
* Initial release
* Waiver modal with name, email, and agree checkbox
* WooCommerce order integration
* Admin waiver list with custom columns
