=== Brunel Shipping for WooCommerce ===
Contributors: brunelmomentum
Tags: woocommerce, shipping, delivery, same-day, logistics
Requires at least: 6.2
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: 8.0
WC tested up to: 9.6

The all-in-one shipping platform for WooCommerce.

== Description ==

**Brunel Shipping** connects your WooCommerce store to [Brunel Momentum](https://brunelmomentum.ai) for local same-day and next-day delivery.

= Features =

* **Live checkout rates** — Same Day and Next Day options with delivery cutoff messaging at checkout (Classic and Blocks).
* **Secure store connection** — Guided setup to link your WooCommerce store to Brunel Shipping.
* **Order sync** — Import orders from WooCommerce into the Brunel merchant portal for label printing and fulfillment.
* **Delivery status write-back** — Update WooCommerce order status when Brunel marks a package delivered.
* **Guided setup** — Clear onboarding in WooCommerce admin, including connection status and activity.

= Who is this for? =

Canadian merchants using Brunel Shipping for last-mile delivery who want WooCommerce checkout to quote real Brunel rates and keep order status in sync with their carrier.

= Requirements =

* WordPress 6.2+
* WooCommerce 8.0+
* A secure (HTTPS) store for production use
* A Brunel Shipping merchant account ([sign up](https://merchant.brunelmomentum.ai))

= Privacy / External service =

This plugin connects your store to **Brunel Shipping**, an online delivery service. A Brunel merchant account is required ([sign up](https://merchant.brunelmomentum.ai)). By installing, activating, and connecting the plugin, you authorize Brunel to process the information needed to quote shipping rates and fulfill deliveries.

**What Brunel uses to serve your customers**

* At checkout, Brunel receives destination address details and package information needed to calculate shipping rates.
* After you connect your store in the [Brunel merchant portal](https://merchant.brunelmomentum.ai), Brunel can sync orders and product information so you can fulfill deliveries and (optionally) show product promotions on branded tracking pages, and can update order status when a package is delivered.
* Plugin settings stay on your WordPress site. Optional debug logging is off by default.

[Privacy policy](https://brunelmomentum.ai/privacy) · [Terms of use](https://brunelmomentum.ai/terms)

== Installation ==

Getting Brunel rates at checkout takes a few minutes. Follow these steps in order.

= 1. Install the plugin =

1. In WordPress, go to **Plugins → Add New**.
2. Search for **Brunel Shipping for WooCommerce**, then click **Install Now** and **Activate**.
3. Or upload the plugin zip from **Plugins → Add New → Upload Plugin**, then activate it.

= 2. Open Brunel Shipping settings =

Go to **WooCommerce → Settings → Integration → Brunel Shipping**.

You’ll see a connection hub with your store credentials.

= 3. Create your store connection =

1. Click **Generate REST API keys**.
2. Copy the values shown on screen (they’re needed in the next step).
3. Keep this page open while you finish setup in Brunel.

= 4. Connect Brunel to your store =

1. Sign in to your [Brunel merchant portal](https://merchant.brunelmomentum.ai) (create an account first if you don’t have one).
2. Open **Settings → Integrations → WooCommerce**.
3. Paste the credentials you copied from WordPress into the matching fields.
4. Save the connection.

= 5. Offer Brunel at checkout =

1. Go to **WooCommerce → Settings → Shipping → Shipping zones**.
2. Open the zone that matches your customers (for example a city or province zone — not only a country-wide zone if a more specific zone exists).
3. Add the **Brunel Shipping** method to that zone and save.

You’re done. Shoppers in that zone should see Brunel Same Day / Next Day options at checkout when rates are available.

== Frequently Asked Questions ==

= Why do Brunel rates not appear at checkout? =

Add the Brunel Shipping method to the **most specific** shipping zone that matches the customer address. If a regional zone matches first, a country-wide zone alone may not be used.

= Does this work with modern WooCommerce? =

Yes. Brunel Shipping works with WooCommerce High-Performance Order Storage and Checkout Blocks.

= What happens when I uninstall the plugin? =

Your Brunel connection settings are kept by default so a short deactivation does not force a full reconnect. You can clear them from the Brunel Shipping settings screen if you want a clean start.

== Changelog ==

= 1.0.1 =
* Initial public release.
* Same Day and Next Day rates at WooCommerce checkout.
* Connect your store to the Brunel merchant portal for order sync and delivery status updates.

== Upgrade Notice ==

= 1.0.1 =
Initial release of Brunel Shipping for WooCommerce.
