=== GTG - Recesso Online ===
Contributors: gtechgroup
Tags: woocommerce, withdrawal, returns, gdpr, consumer protection
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
WC requires at least: 6.0
WC tested up to: 10.8
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Let customers (including guests) submit a withdrawal request for WooCommerce orders. It records and notifies only; no automatic refunds.

== Description ==

GTG - Recesso Online lets customers (including guests) submit a withdrawal declaration in a simple, traceable way. The plugin RECORDS and NOTIFIES the request: it does NOT issue refunds, cancel orders, change stock, close subscriptions or create return labels automatically. The store administrator reviews every request manually.

Key features:

* Public page plus shortcodes, accessible without login.
* Secure verification by order number and billing email (no personal data in URLs: signed nonces/transients are used).
* Two-step flow with no dark patterns, ending with a clear "Confirm withdrawal" button. Works without JavaScript.
* Durable receipt (email with full content, date and time) plus a JSON snapshot of the request.
* Configurable withdrawal period (order/payment/completion/shipping/delivery date) with filters for tracking plugins.
* Exclusions by category/product/virtual/downloadable plus a product metabox (warnings/manual review only).
* B2C/B2B handling, duplicate detection, audit trail, CSV export.
* Emails integrated with WooCommerce (template override, header/footer) plus a wp_mail fallback; compatible with SMTP plugins.
* Cache/CDN protection, noindex on pages containing personal data, defensive multilingual compatibility (WPML/Polylang/TranslatePress).
* Privacy: personal-data exporter/eraser plus suggested policy text.
* HPOS compatible. Compatible with Elementor/WPBakery via shortcode (optional widgets when active).
* White-label options and a staging mode (disables emails).

WooCommerce is the only functional dependency; without it the plugin degrades gracefully and shows an admin notice.

This plugin is designed to support the consumer right of withdrawal under EU distance-selling rules, but it does not provide legal advice and does not replace your own terms and conditions.

== Installation ==

1. Upload the plugin folder to /wp-content/plugins/ and activate it.
2. A "Recesso online" page is created with the shortcode [gtg_recesso_form].
3. Configure emails and company data under "Recesso Online -> Settings".
4. Review "Recesso Online -> Configuration status".

== Frequently Asked Questions ==

= Does the plugin issue refunds or cancel orders automatically? =

No. It only records and notifies the withdrawal request. Every decision (acceptance, rejection, refund, return) is taken manually by the administrator.

= Can guests (customers without an account) submit a request? =

Yes. Verification uses the order number and the billing email. No personal data is exposed in URLs.

= Is WooCommerce required? =

WooCommerce is the only functional dependency. Without it the plugin stays inactive without fatal errors and shows an admin notice.

== Shortcodes ==

* [gtg_recesso_form] - the withdrawal form (two steps).
* [gtg_recesso_link] - a text link to the withdrawal page.
* [gtg_recesso_button] - a button to the withdrawal page.

== Changelog ==

= 1.0.0 =
* First release.
