=== Bridgo Connector ===
Contributors: ahmadaljariry
Tags: woocommerce, whatsapp, abandoned cart, order notifications, automation
Stable tag: 1.2.2
Tested up to: 6.9
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect WooCommerce to Bridgo to send order lifecycle and abandoned-cart events to your Bridgo workspace.

== Description ==

Bridgo Connector connects WooCommerce to the Bridgo messaging platform.

Features:

* Send order-created and order-status events to Bridgo.
* Track abandoned carts after an admin explicitly enables the external service connection.
* Export WooCommerce customers to CSV.
* View activity logs and retry failed deliveries.

External services

This plugin connects to a Bridgo service to deliver WooCommerce events.

It sends data only after an administrator:

* enters the Bridgo API URL, API key, and company ID
* enables the "External Service Consent" checkbox in the plugin settings
* saves the plugin settings

When enabled, the plugin may send:

* store URL, store name, admin email, WooCommerce version, and plugin version
* order IDs, order numbers, payment method, order status, totals, refund totals, countries, and line items
* customer first name, last name, email, billing phone, shipping phone, and configured opt-in value
* abandoned cart token, cart contents, cart total, customer email, customer phone, customer name, and configured opt-in value

Abandoned-cart events are only sent when the stored opt-in value for that cart is affirmative.

Service endpoints:

* Service application: https://portal.digitalbridgeapps.com
* Terms of service: https://digitalbridgeapps.com/Home/TermsConditions
* Privacy policy: https://digitalbridgeapps.com/Home/PrivacyPolicy

== Installation ==

1. Upload the `bridgo-connector` plugin folder to `/wp-content/plugins/`.
2. Activate the plugin through the "Plugins" screen in WordPress.
3. Open `WooCommerce > Bridgo`.
4. Enter your Bridgo API URL, API key, and company ID.
5. Enable the external service consent checkbox and save.

== Frequently Asked Questions ==

= Does the plugin send data before I configure it? =

No. The plugin requires configuration plus the external service consent checkbox before it sends requests to Bridgo or starts abandoned-cart tracking.

= Does the plugin require WooCommerce? =

Yes. WooCommerce must be installed and active.

== Changelog ==

= 1.2.2 =

* Added explicit external-service consent gating and disclosure.
* Added WordPress.org readme metadata and external service documentation.
