=== Parcelis Shipping Protection ===
Contributors: parcelis
Tags: shipping insurance, package protection, woocommerce, insurance, order protection
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
WC requires at least: 7.0
WC tested up to: 10.0

Offer shipping insurance to your customers at checkout. Protect orders and increase revenue with Parcelis.

== Description ==

Parcelis Shipping Protection allows store owners to offer shipping insurance directly in their WooCommerce store. Customers can opt in to protect their orders against loss, damage, or theft during shipping.

**How it works:**

* You set the retail price customers pay for insurance (suggested: $4.95 per $200 covered)
* Your wholesale cost is $2.50 per $200 covered — that's what you pay to Parcelis
* You keep the difference as profit
* Coverage is capped at $2,500 per order
* Policies are issued automatically when an order is placed

**Features:**

* Seamless integration with WooCommerce checkout
* Customizable retail pricing
* Automatic policy issuance on order payment
* Order notes with policy confirmation
* Admin dashboard to view issued policies
* Compatible with WooCommerce HPOS (High-Performance Order Storage)

== Installation ==

1. Upload the `parcelis-shipping-protection` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the **Plugins** menu in WordPress
3. Go to **WooCommerce > Parcelis** to configure your settings
4. Set your retail price and enable the widget
5. The insurance option will appear in your cart/checkout

== Frequently Asked Questions ==

= What is my wholesale cost? =
$2.50 per $200 of order value covered. This is the fixed cost you pay to Parcelis for each policy issued.

= What is the maximum coverage per order? =
$2,500 USD per order.

= How are policies issued? =
Policies are issued automatically when an order reaches "Processing" or "Completed" status.

= Can I set my own retail price? =
Yes. You can charge customers any amount you choose. The suggested retail price is $4.95 per $200 covered.

== External Services ==

This plugin connects to the Parcelis API to provide shipping insurance functionality. The following data transmissions occur:

**Parcelis API** (https://app-parcelis-api-prod-001.azurewebsites.net)

* **Shop registration:** When the plugin is activated, store details (domain, name, admin email, WooCommerce version) are sent to register the store with Parcelis.
* **Settings sync:** When plugin settings are saved, configuration data is synced to Parcelis so coverage parameters stay current.
* **Order submission:** When an order containing shipping insurance reaches "Processing" or "Completed" status, order details (customer info, shipping address, line items, insurance amount) are sent to Parcelis to trigger policy issuance.

No data is transmitted to third parties beyond the Parcelis API service described above.

* [Parcelis Terms of Service](https://www.myparcelis.com/terms)
* [Parcelis Privacy Policy](https://www.myparcelis.com/privacy)

== Screenshots ==

1. Insurance widget in the cart
2. Admin settings page
3. Pricing configuration

== Changelog ==

= 1.0.1 =
* Rename main plugin file to match the approved WordPress.org slug (parcelis-shipping-protection)
* Fix leftover "Parcelis WooCommerce" name references in the readme

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.1 =
Internal housekeeping fix, no functional changes.

= 1.0.0 =
Initial release.
