=== Maskbreak for WooCommerce ===
Contributors: maskbreak
Tags: woocommerce, fraud prevention, checkout, registration
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Check WooCommerce registrations and orders for suspicious devices and network connections using Maskbreak.

== Description ==
Choose Watch mode to see decisions in Maskbreak Events while letting visitors through. The order details screen also shows the last decision recorded for that order. The plugin supports the My Account registration form, classic checkout and the Checkout block. It does not screen payments made on a separate payment page or registrations made through another plugin.

Enforce mode can refuse a signup or a checkout when the service returns a complete, live block decision. Reviews, missing evidence, test results and service outages allow the customer to continue. Your payment gateway and existing store rules still apply.

== Installation ==
1. Install WooCommerce 10.3.5 or later. Install and activate this plugin.
2. Create a [free Maskbreak account](https://maskbreak.com/signup?next=%2Fdashboard%3Fsetup%3Dwoocommerce%23integration). Set MASKBREAK_API_KEY through your hosting secret settings, or define the constant of that name in wp-config.php. Keep this server key private.
3. Under WooCommerce > Maskbreak, review the service disclosure, choose Watch and save.
4. Make a test registration in a logged-out browser or submit an order. Open Maskbreak Events to see the visit. Check an order's details to see the recorded decision. Verify on your own site before choosing Enforce.
5. If the account page or checkout is cached, exclude it from full-page caching. For content security policy and script optimization settings, see the [integration guide](https://maskbreak.com/blog/woocommerce-fraud-detection).

== External services ==
The plugin is off until a store administrator configures a key and enables screening. On applicable pages it loads Maskbreak's browser collector from maskbreak.com. The collector contacts mcl.maskbreak.com and mesu.maskbreak.com for network and device assessment. These services process the visitor's IP address and browser signals such as the user agent, screen size and time zone. The store sends a visit token, available browser check ID, time zone and event type (signup or checkout) to https://maskbreak.com/v1/evaluate. The plugin does not include customer passwords, billing information, email addresses, payment details or cart contents in that request. See the [service terms](https://maskbreak.com/terms) and [privacy policy](https://maskbreak.com/privacy). Administrators are responsible for the notices and consent appropriate to their site.

== Changelog ==
= 1.0.1 =
Label registrations as signup and both classic and block orders as checkout in Maskbreak Events.

= 1.0.0 =
Initial release with optional watch and enforce modes for WooCommerce registration and checkout.
