=== WaaveCompliance RegX ===
Requires at least: 6.2
Tested up to: 6.5
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Monitors inventory and enforces shipping rules to block payments.

== Description ==

The WAAVE Compliance WP plugin helps manage your WooCommerce store by monitoring product inventory and enforcing custom shipping rules. It ensures your e-commerce operations run smoothly by blocking payments if shipping rules are violated, thus preventing invalid shipments and ensuring compliance with your business requirements.

== Key Features: ==

- **Age Confirmation Popup:** Display a popup to confirm user age upon visiting the site, ensuring compliance with age-restricted content policies.
- **Dynamic Disclaimers:** Fetch and display disclaimers from your controlled service at the bottom of your WordPress pages, keeping your site in compliance with legal and informational requirements.
- **Shipping Rules Enforcement:** Blocks the checkout process if any defined shipping rules are violated, preventing invalid transactions.
- **Flexible Settings:** Enable or disable features and customize settings easily from the plugin’s settings page.

== Dependency on Third-Party Service ==

WAAVE Compliance WP relies on a third-party service to retrieve and validate data. Here's how and under what circumstances the third-party service is involved:

1. **Data Retrieval:**
   - **API Calls:** The third-party service, [WAAVE](https://getwaave.co) makes HTTP requests to the plugin’s APIs to fetch product and category data. This is essential for ensuring that the third-party system can accurately sync and validate data against your WordPress site.
   - **Frequency:** These API calls can occur periodically or based on specific triggers set by the third-party service.

2. **Data Storage:**
   - **Third-Party Database:** The fetched data is stored in the third-party service’s database. This storage is used for validation purposes and might be retained as per their retention policies.

3. **Validation Processes:**
   - **Data Comparison:** The third-party service uses the stored data to compare and validate it against the live data from your WordPress site, ensuring consistency and accuracy.
   - **Notification of Discrepancies:** If discrepancies are found, the third-party service may notify you or take corrective actions as per their configuration.

4. **Disclaimers:**
   - **API Integration:** The plugin can call the third-party service’s API to retrieve disclaimers that are dynamically displayed at the bottom of your WordPress pages.
   - **Customization:** These disclaimers can be customized and managed through your controlled service.

== Important Considerations: ==

- **Data Privacy:** Ensure that you trust the third-party service with your data, as they will store and process it as described.
- **Security:** Verify that the third-party service uses secure methods for data transfer and storage.
- **Service Agreement:** Review any agreements or terms of service with the third-party to understand how your data will be handled. You can view the third-party service’s [Terms of Service](http://static.getwaave.co/info/tos.html).

For detailed information on how to configure and use the plugin, please refer to the [Installation](#installation) and [FAQ](#faq) sections below.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/[your-plugin-directory]` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Use the `/wp-admin/admin.php?page=wc-settings&tab=waave` to configure the plugin’s settings.

== Frequently Asked Questions ==

= How do I configure the APIs for third-party access? =
You can configure the API settings under the plugin’s settings page `/wp-admin/admin.php?page=wc-settings&tab=waave` in the WordPress admin.

= What security measures are in place for the APIs? =
The plugin uses authentication methods like API keys or tokens to ensure secure access. Additionally, we recommend using HTTPS to protect data in transit.

= How does the plugin block payments? =
During the checkout process, the plugin checks if the order complies with the defined shipping rules. If any rule is violated, the plugin will block the payment and display an appropriate message to the customer.

== Changelog ==

= [Version 1.0.0] =
- Initial release of WAAVE Compliance WP plugin.

== Upgrade Notice ==

= [Version 1.0.1] =
- Added improved customization options for the age confirmation popup.

== Support and Contact Information ==

For any support inquiries or questions, please visit [WAAVE Support](https://www.getwaave.com/contact).

== License ==

This plugin is licensed under the GPLv2 or later. See the [GNU General Public License](http://www.gnu.org/licenses/gpl-2.0.html) for more details.

