=== DEED Pay for WooCommerce ===
Contributors: usedeed
Tags: payments, deed pay, escrow, woocommerce, nigeria
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 0.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept payments with escrow protection via DEED Pay. Secure funds until delivery confirmation.

== Description ==

DEED Pay is a secure payment gateway built for trust. It features built-in escrow protection that holds funds securely until the customer confirms delivery or a set time period elapses. This significantly reduces chargebacks and disputes for merchants in emerging markets.

**Key Features:**
* **Escrow Protection:** Automatically secure transactions until fulfillment.
* **Multiple Payment Methods:** Accept Cards, Bank Transfers, and Mobile Wallets.
* **Settlement:** Instant settlement to your DEED Wallet upon release.
* **Guest Checkout:** Customers do not need a DEED account to pay.
* **Test Mode:** Fully functional sandbox environment for safe testing.

== External Services ==

This plugin relies on the DEED Pay payment processing service to handle secure transaction payments.

**Service Provider:** DEED Ltd (usedeed.com)

**What it's used for:**
- Processing customer payments with transaction protection
- Managing payment lifecycle (creation, confirmation, release, refunds)
- Handling disputes and delivery confirmations

**Data transmitted to DEED Pay API (https://api.usedeed.com):**

When a customer chooses DEED Pay at checkout, the following data is sent:
- Order ID (internal WooCommerce order number)
- Order amount and currency
- Customer email address and phone number (if provided)
- Product/service details (name, quantity, unit price)
- Delivery/shipping address (if applicable)
- Payment method preferences

This data is sent:
- When customer clicks "Place Order" (payment intent creation)
- When order status changes (shipped, delivered, etc.)
- When refunds are processed from WooCommerce admin

**Legal & Privacy:**
- DEED Pay Terms of Service: https://usedeed.com/terms
- DEED Pay Privacy Policy: https://usedeed.com/privacy

By using this plugin, you agree to DEED Pay's terms and acknowledge that customer payment data will be processed by DEED Pay in accordance with their privacy policy.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/deed-pay-woo` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Navigate to **WooCommerce > Settings > Payments > DEED Pay**.
4. Enter your **Public Key** and **Secret Key** from your [DEED Dashboard](https://usedeed.com/deed-pay).
5. Click **Save Changes**.

== Frequently Asked Questions ==

= Do I need a DEED account? =
Yes. You need to sign up for business account at [usedeed.com](https://usedeed.com/signup) to get your API keys.

= What currencies are supported? =
DEED Pay supports 170+ currencies including NGN, USD, GBP, EUR, GHS, KES, and more.

= How does the escrow release work? =
Funds are released to your wallet either when the customer clicks "Confirm Delivery" in their email/dashboard OR automatically after your configured "Escrow Release Days" (default is 3 days).

== Screenshots ==

1. **Plugin Settings** - Enter your API Keys and configure escrow duration.
2. **Checkout Experience** - How DEED Pay appears on the checkout page.

== Changelog ==

= 0.1.1 =
* Initial release
* Payment intent creation
* Webhook support
* Test mode
* Escrow configuration

== Upgrade Notice ==

= 0.1.1 =
Initial release of DEED Pay for WooCommerce.