=== Scroogle Relay for WooCommerce ===
Contributors: scrooglemail
Tags: woocommerce, checkout, privacy, email
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 1.4.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Email-less checkout for WooCommerce. Mint a private relay address per order so customers can skip the email field entirely.

== Description ==

Most shoppers do not want to give a store their email address. They want their order, a dispatch note, and to be left alone.

Scroogle Relay lets them have exactly that. When a customer checks out, they can leave the email field empty. Scroogle mints a single-purpose relay address for the order (for example ord-k7x2m9@scrooglemail.com). Order confirmations, courier updates and your replies all flow through the relay; the customer reads them in a lightweight reply portal or forwards them wherever they like. When the relay expires, it simply stops existing.

What you get:

* Per-order relay addresses (ord-) with a configurable expiry, tuned to your returns window.
* Optional per-account relays (acc-) so registered customers never store a real email with you at all.
* A forwarding address of your choice, so replies to a relay reach your existing inbox and tooling.
* Couriers, payment providers and your own systems keep working: to them, the relay is just an email address.
* Nothing changes until you connect. Without a verified Scroogle Relay API key the plugin is completely dormant and your checkout behaves exactly as before.

Scroogle Relay is a service of Scroogle Mail AG, Zurich. Relay traffic is handled on Swiss infrastructure.

== Installation ==

1. Upload the scroogle-relay folder to /wp-content/plugins/, or install the ZIP via Plugins > Add New > Upload Plugin.
2. Activate the plugin through the Plugins screen.
3. Go to the new Scroogle Relay menu in your dashboard.
4. Paste the Relay API key from your Scroogle Mail business dashboard and click Verify connection.
5. Once verified, enable relay checkout and pick your expiry and forwarding options.

== Frequently Asked Questions ==

= Do I need a Scroogle Relay API key? =

Yes - create one in your Scroogle Mail business dashboard. The plugin stays dormant until the key verifies, so it is safe to install ahead of time.

= Does this change my checkout as soon as I activate it? =

No. Until your API key verifies, the plugin registers nothing visible: no checkout changes, no email changes, no new fields. It is designed to be safe to activate on a live store.

= What happens when a relay expires? =

Mail to it stops being forwarded and the address is retired. You choose the expiry window (45 days by default) so it comfortably outlives your returns period.

= Can customers still give a normal email address? =

Yes. The email field becomes optional, not hidden. Customers who prefer the usual flow just fill it in as always.

= Where does relay mail for my shop end up? =

Wherever you point it. Set a forwarding address in the settings, or leave it blank to use your WooCommerce new-order email address.

= Is this compatible with HPOS (high-performance order storage)? =

Yes, the plugin declares HPOS compatibility.

== Changelog ==

= 1.4.2 - 2026-05-19 =
* Fix: settings link on the Plugins screen pointed at the old submenu slug.
* Tweak: clearer error message when the API cannot be reached.
* Compatibility: WooCommerce 9.3.

= 1.4.0 - 2026-03-02 =
* New: per-account relay addresses (acc-) for registered customers.
* New: customer reply portal toggle.
* Tweak: relay expiry now accepts 1 to 365 days.

= 1.3.0 - 2025-11-14 =
* New: configurable forwarding address for relay replies.
* Fix: HPOS compatibility declaration.
* Tweak: refreshed admin styling.

= 1.0.0 - 2025-06-30 =
* Initial release: per-order relay addresses with email-less checkout.

== Screenshots ==

1. The Scroogle Relay dashboard page with connection status and settings.
2. Checkout with the optional email field and the relay offer panel.
3. The customer reply portal for a single order relay.
