=== Deakee Codes ===
Contributors: deakeegroup, jameswalstonn
Tags: coupons, discount codes, partner program, coupon discovery, woocommerce
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.3
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt

List your WooCommerce store on Deakee — a curated coupon discovery platform. Apply in minutes, go live after a quick review.

== Description ==

**Deakee Codes** connects your WooCommerce store to [Deakee](https://deakee.com), a curated coupon discovery platform where committed buyers find and claim exclusive discount codes.

= How it works =

1. Install and activate the plugin
2. Go to **WooCommerce → Deakee Codes**
3. Fill in your brand details and submit your application
4. Deakee reviews your application within 2–3 business days
5. Once approved, add up to 5 exclusive coupon codes
6. Your listing goes live on deakee.com after a 24-hour code review

Your exclusive codes are shown to Deakee members who are actively looking to purchase. Unlike public coupon sites, Deakee members are opted-in and committed buyers.

= Features =

* Simple brand application — pre-filled from your WooCommerce store
* Add up to 5 coupon codes with full metadata (type, value, expiry, minimum purchase, terms)
* Application status tracking inside WooCommerce admin
* Manage or withdraw your listing at any time
* Partner Portal access for performance tracking

= Partner Program =

Listing on Deakee is part of the Deakee Partner Program. Your brand gets dedicated visibility to Deakee's member base — committed buyers who are opted-in and actively looking to purchase. No setup fees, no commission on sales.

= External Services =

This plugin sends data to the Deakee API (deakee.com) when you submit a brand application or coupon codes. The data sent includes your store name, website URL, brand logo URL, description, category, WooCommerce admin email, and coupon codes.

No data is transmitted until you actively submit the application form. No customer data is ever sent.

Data is processed in accordance with the [Deakee Privacy Policy](https://deakee.com/privacy) and [Terms of Service](https://deakee.com/terms).

== Installation ==

1. Upload the `deakee-codes` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the **Plugins** menu in WordPress
3. Go to **WooCommerce → Deakee Codes** to submit your brand application

== Frequently Asked Questions ==

= How long does approval take? =

Brand applications are reviewed within 2–3 business days. Once approved, you'll be notified by email and can add your coupon codes. Codes are published within 24 hours of submission.

= Does this cost anything? =

Listing on Deakee is free as part of the Partner Program. Contact partners@deakee.com for details.

= What data is sent to Deakee? =

When you submit an application, the following is sent to deakee.com: your brand name, website URL, logo URL, brand description, category, WooCommerce admin email, and any coupon codes you add. No customer or order data is ever sent.

= How do I update my coupon codes? =

After approval, go to **WooCommerce → Deakee Codes** and resubmit updated codes. Your listing will be refreshed within 24 hours.

= Can I remove my listing? =

Yes. Go to **WooCommerce → Deakee Codes** and click "Remove listing" or "Withdraw application" at any time. Your data is removed from the Deakee platform on request.

= Does this work without WooCommerce? =

No — WooCommerce must be installed and active. The plugin will deactivate automatically if WooCommerce is missing.

== Changelog ==

= 1.0.3 =
* Fix coupon submission API endpoint URL (was /woo/coupons, now correctly /partners/coupons)

= 1.0.2 =
* Escape all echo'd variables with esc_attr(), esc_html(), and esc_js() per WordPress security guidelines

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release.
