=== DropRoyal ===
Contributors: karzan83
Tags: woocommerce, dropshipping, connector
Requires at least: 6.2
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 0.2.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect your WooCommerce store to DropRoyal with a one-click onboarding flow.

== Description ==

DropRoyal links your WooCommerce store to DropRoyal.

Current version features:

* One-click connect flow from WordPress admin to DropRoyal
* Automatic WordPress Application Password generation for secure API access
* Connection status and reconnect/disconnect controls in admin

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/droproyal`, or install through WordPress admin.
2. Activate the plugin through the `Plugins` screen in WordPress.
3. Open `DropRoyal` in your WordPress admin menu.
4. Click `Authorize WooCommerce and Connect`.

== Frequently Asked Questions ==

= Does this require WooCommerce? =

Yes. This plugin is intended for WooCommerce stores.

= What happens during connect? =

The plugin redirects you to DropRoyal for account authentication and then securely links the store using a generated Application Password.

== Changelog ==

= 0.2.6 =

* Made disconnect idempotent when merchant is already removed from DropRoyal.
* Plugin now clears local connection state instead of staying stuck as connected.

= 0.2.5 =

* Fixed admin CSS enqueue path for WordPress.org plugin directory installs.
* Enqueue now targets the DropRoyal plugin page reliably.

= 0.2.4 =

* Moved admin CSS from inline output to `admin_enqueue_scripts`.
* Updated plugin/author URIs to public pages.

= 0.2.3 =

* Connect flow now opens in a new browser tab from WordPress

= 0.2.2 =

* Fully suppress external WordPress/admin/plugin notices on DropRoyal page
* Updated hero and buttons color theme to `#2563eb`

= 0.2.1 =

* Fixed disconnect flow with legacy fallback for pre-token connections
* Suppressed WordPress global admin notices on DropRoyal plugin page
* Replaced WP notice boxes with clean in-plugin status messages

= 0.2.0 =

* Redesigned admin page to match DropRoyal style
* Added WooCommerce pre-authorization before app connect redirect
* Redirect to DropRoyal package step after successful connection
* Connect/Disconnect buttons now shown conditionally
* Added `Open DropRoyal App` quick-action button
* Disconnect now calls DropRoyal API to remove Woo credentials from merchant account

= 0.1.1 =

* Default app URL changed to `https://app.droproyal.com`
* Auto-correct legacy `droproyal.com` app URL to `app.droproyal.com`

= 0.1.0 =

* Initial release
