=== Pi Approve Order for WooCommerce ===
Contributors: rajeshsingh520
Tags: woocommerce, order approval, pre order, waiting approval
Requires at least: 5.0
Tested up to: 7.0
Stable tag: 1.0.11
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Order Approval for WooCommerce plugin lets store owners **manually approve or reject WooCommerce orders before payment is processed**. Perfect for **Cash on Delivery (COD) risk control**, **custom/wholesale orders**, and stores that want to **review orders before sending a payment link**.

== Description ==

**Order Approval for WooCommerce** adds an order review step to your WooCommerce checkout flow.  
Instead of processing payment immediately, orders are placed in a pending approval stage so the store admin can **Approve** or **Reject** them first.

This helps you prevent fake/spam orders, verify customer details, confirm stock, and approve only valid orders before collecting payment.

**Best for:**
* Stores selling **custom-made products**
* **Wholesale / B2B** order verification
* **COD order verification**
* Stores that want to send a **payment link only after approval**
* Businesses that need to review address, delivery, or product availability before payment

https://youtube.com/watch?v=Vy1Qzlf0zQs

== How It Works (Order Approval Flow) ==

**Sales process flow for new customer:**

1. Customer places an order (no payment is processed yet)
2. Admin reviews the order and **Approves** or **Rejects**
3. Customer receives an email notification:
   * **Approved:** customer gets an email with a **payment link**
   * **Rejected:** customer receives an order cancellation email

This creates a clean “order approval before payment” workflow for WooCommerce.

== Features ==

* **Approve or Reject WooCommerce orders manually** before payment is processed
* Prevent payment collection until admin approval is done
* Customer email notifications for both:
  * **Order Approved email** (includes payment link)
  * **Order Rejected email** (order cancelled)
* Works with **all WooCommerce payment gateways** (supports enabled gateways)
* **Block checkout** (stop orders from auto-processing when approval is required)
* **Order Edit feature** – modify order details easily before approval
* Enable/Disable plugin functionality from settings
* Enable order approval for:
  * **Specific products**
  * **Specific categories**
* Simple setup with **no complex settings**

== Why Use Order Approval for WooCommerce? ==

Many WooCommerce stores lose time and money due to:

* Fake orders
* Wrong address / invalid phone number
* High-risk COD orders
* Out-of-stock or backorder issues
* Custom product confirmation required before payment

With this plugin, you can **review every order before payment** and collect payment only when you're ready.

== Works With ==

* WooCommerce (latest versions)
* All supported WooCommerce payment gateways
* Any theme that follows WooCommerce standards


== Frequently Asked Questions ==

= Will the customer be charged automatically after placing the order? =
No. Payment is **not processed** until the admin approves the order.

= Does it work with all payment gateways? =
Yes, it works with all enabled WooCommerce payment gateways. The customer receives a **payment link** after approval.

= Can I enable approval only for selected products or categories? =
Yes. You can enable order approval for **specific products** or **specific categories**.

= Does the plugin send emails automatically? =
Yes. The plugin sends:
* **Approved order email** (with payment link)
* **Rejected order email** (cancellation notification)

== Changelog ==

= 1.0.0 =
* Initial release
