=== Payment Gateway Per Product for WooCommerce ===
Contributors: dreamfox
Tags: woocommerce payment gateway, payment methods, checkout, conditional payments, woocommerce checkout, stripe, paypal, woocommerce payments, cart optimization, conversion optimization
Requires at least: 5.8
Tested up to: 6.9.4
Requires PHP: 7.4
Requires Plugins: woocommerce
WC requires at least: 5.0
WC tested up to: 10.7.0
Stable tag: 3.7.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Control WooCommerce payment gateways per product, category, or tag. Show the right payment methods at checkout and increase conversions.

== Description ==

Take full control of your WooCommerce checkout with **Payment Gateway Per Product for WooCommerce**.

This powerful plugin allows you to **show or hide payment gateways based on products, categories, or tags**, so your customers only see the most relevant payment options — exactly when it matters.

🚀 **Why this plugin?**
Default WooCommerce shows all payment methods to all customers. That often causes confusion, reduces trust, and increases cart abandonment.

With this plugin, you can:
- Show **PayPal only for specific products**
- Enable **Stripe for subscriptions**
- Limit **cash on delivery to certain categories**
- Create a **clean, optimized checkout experience**

👉 Result: **Higher conversions, better UX, and fewer abandoned carts**

---

== Key Features ==

✔ Assign payment gateways per **individual product**  
✔ Automatically fallback to **default gateways** when no match is found  
✔ Works with **PayPal, Stripe, credit cards, and all WooCommerce gateways**  
✔ Lightweight, fast, and easy to configure  
✔ No coding required  

✔* Control payment methods per **category**  
✔* Configure **tag-based payment rules**  
✔* Choose fallback behavior: show **no payment methods** or **default gateways**  

---

== Premium Features ==

Features marked with * are available in the Premium version.

🔥 Unlock full control over your WooCommerce checkout:

- ✔* **Per Product Payment Gateways**  
- ✔* **Category-Based Payment Rules**  
- ✔* **Tag-Based Payment Control**  
- ✔* **Flexible Fallback Options**  
  If no matching payment gateways are found at checkout, choose to:
  - Show no payment methods, or  
  - Show one of your default WooCommerce payment gateways  
- ✔* **Include / Exclude Logic**  
- ✔* **Advanced Checkout Optimization**  
- ✔* **Easy Setup (no coding required)**  

---

== Free vs Premium ==

|| Feature || Free || Premium ||
| Assign payment gateways per product | ✔ | ✔ |
| Default WooCommerce fallback | ✔ | ✔ |
| Category-based payment rules | ✖ | ✔* |
| Tag-based payment rules | ✖ | ✔* |
| Advanced include/exclude logic | ✖ | ✔* |
| Choose fallback behavior (none or default) | ✖ | ✔* |
| Priority support | ✖ | ✔* |

*Premium features are marked with *

---

== How It Works ==

1. Edit a product, category, or tag  
2. Select the allowed payment gateways  
3. Save your settings  

At checkout:
- Matching gateways are displayed  
- If no match is found → fallback behavior is applied (default or none)

Simple, powerful, and effective.

---

👉 Want more control, advanced features, and full flexibility over your checkout?

Explore documentation, premium features, and updates on our website:  
https://www.dreamfoxmedia.com

📚 Knowledge Base:  
https://help.dreamfoxmedia.com

🛠 Need help or support?  
Submit a request here:  
https://dreamfoxmedia.com/support-form/

---

== Installation ==

= Automatic Installation =
1. Go to **Plugins > Add New**
2. Search for `Payment Gateway Per Product for WooCommerce`
3. Click **Install Now**
4. Activate the plugin

= Manual Installation =
1. Upload the plugin ZIP file
2. Extract to `/wp-content/plugins/`
3. Activate via **Plugins**

---

== Frequently Asked Questions ==

= What happens if multiple products have different payment gateways? =

The plugin intelligently combines allowed gateways.

Example:
- Product A → PayPal
- Product B → PayPal + Credit Card

👉 Checkout will show: **PayPal + Credit Card**

For more details, visit [Dreamfox Media](http://www.dreamfoxmedia.com).

---

= Where can I find documentation and support? =

You can find everything you need to get started and go further:

🌐 Website & Premium Features:  
https://www.dreamfoxmedia.com

📚 Knowledge Base (guides & tutorials):  
https://help.dreamfoxmedia.com

🛠 Support (submit a ticket):  
https://dreamfoxmedia.com/support-form/

---

= What happens if no payment gateway matches? =

If no matching payment gateways are found during checkout, you can control the behavior (Premium feature):

- Show no payment methods, or  
- Automatically fallback to one of your default WooCommerce payment gateways  

---

= Does this work with Stripe, PayPal, and other gateways? =

Yes. This plugin works with **all standard WooCommerce payment gateways and extensions**.

---

== Screenshots ==
1. Settings panel to configure payment gateways per product.
2. Example of dynamic payment gateway display at checkout.
3. Easy-to-use admin interface.

== Changelog ==

= 3.7.3 =
- Tested with the latest WordPress (6.9.4) and WooCommerce (10.7.0) versions.

= 3.7.1 =
- Bugfix.

= 3.7.1 =
- Tested with the latest WordPress and WooCommerce versions.
- Update freemius SDK to latest version
- Fixed bug using plugin on wordpress.com

= 3.6.5 =
- Tested with the latest WordPress and WooCommerce versions.
- Update freemius SDK to 2.12.2
- Fixed bug using plugin on wordpress.com

= 3.6.4 =
- Bug fixes and compatibility updates.
- Tested with the latest WordPress and WooCommerce versions.
- Update freemius SDK to 2.12.1

= 3.6.3 =
- Bugfix -> Payment options not visible by product in free version

= 3.6.2 =
- Bugfixes

= 3.6.0 =
- Update freemius SDK to 2.11.0

= 3.5.9 =
- Security issues solved

= 3.5.7 =
- Security issues solved

= 3.5.6 =
- Bug fixes and compatibility updates.
- Tested with the latest WordPress and WooCommerce versions.
- Update Freemius SDK to 10.2

= 3.5.5 =
- Bug fixes and compatibility updates.
- Tested with the latest WordPress and WooCommerce versions.

... (keep existing changelog entries here) ...

== Upgrade Notice ==
Upgrade to the latest version to ensure compatibility and access new features.
