=== Conditional Payment Methods for WooCommerce ===
Plugin Name: Conditional Payment Methods for WooCommerce
Author: theDotstore
Author URI: https://www.thedotstore.com/
Contributors: dots
Stable tag: 1.2.3
Requires PHP: 5.6
Tags: conditional payments, payment methods, woocommerce payments
Requires at least: 5.0
Tested up to: 6.9.4
WC tested up to: 10.6.2
Donate link: https://www.thedotstore.com/
Copyright: (c) 2015-2019 Thedotstore all rights reserved (support@thedotstore.com)
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Allows store owners to restrict payment methods based on the various conditions!

== Description ==

👉 Allows store owners to restrict payment methods based on the various conditions!

<a href="https://www.thedotstore.com/conditional-payments-for-woocommerce/?utm_source=wporg&utm_medium=freepluginlink&utm_campaign=conditionalpayments_free&utm_term=wporg_free_to_pro">Conditional Payments for WooCommerce</a> plugin allows to hide or show payment gateways based on the various conditions in WooCommerce.

This plugin works with default WooCommerce payment gateways and 3rd party payment gateways as well. 

For example, you can restrict Cash On Delivery, PayPal, Stripe or any other well known payment methods based on the different conditions.

== EXAMPLE ==

For example, You have two payment methods, PayPal and Stripe. PayPal can be used for all orders but Stripe only when the billing country is UK.

With Conditional Payments plugin, you can add billing country condition to hide Stripe payment gateway.


== 💁 Key benefits of conditional payments ==

🔑 Create unlimited payment methods restriction rules
🔑 Limit payment methods based on the different conditions
🔑 Reduce risks and boost your sales
🔑 Restrict payments methods by billing and shipping fields

Plugin - <a href="https://pluginsdemo.thedotstore.com/conditional-payments-for-woocommerce/" target="_blank">VIEW LIVE DEMO</a>


<strong>Free plugin:</strong> Need Technical Help? - <a href="https://wordpress.org/support/plugin/conditional-payments/" target="_blank">Click here</a>

<strong>Pro Plugin:</strong>  PRE-SALE Questions - <a href="https://www.thedotstore.com/support/" target="_blank">Click here</a> or <a href="https://docs.thedotstore.com/collection/485-conditional-payments" target="_blank">Review Help Document</a>

== Key features of conditional payments - Free Version ==

<ul>
<li>Easy to setup conditional payments rules</li>
<li>Create unlimited payment methods restriction rules</li>
<li>Allows to restrict payments methods based on the conditions</li>
<li>Add multiple conditions and actions to restrict payments gatways</li>
<li>Support multiple payment gatways</li>
<li>Enable or disable conditional payments rules</li>
<li>Apply bulk actions on conditional payments rules</li>
<li>Search conditional payments rules by keywords</li>
<li>Restrict payments gatways based on the billing or shipping address fields</li>
</ul>


== 💁 Contact Us or Submit Support Ticket ==

<ul>
<li><strong>Free plugin:</strong> Need Technical Help? - <a href="https://wordpress.org/support/plugin/conditional-payments/">Click here</a></li>
<li><strong>Pro Plugin:</strong>  PRE-SALE Questions - <a href="https://www.thedotstore.com/support/">Click here</a> or <a href="https://docs.thedotstore.com/collection/485-conditional-payments">Help Document</a></li>
</ul>

== 🎯 Supercharge Your Store Performance ==

Gain access to <strong>50 expert tips</strong> covering everything from <strong>site speed</strong> and <strong>user experience</strong> to advanced sales strategies, each with impact scores to help you prioritize what truly drives results.

<a href ="https://www.thedotstore.com/?popup_id=76452&utm_source=freeplugin&utm_medium=content&utm_id=ebook1_conditional_payment" target="_blank">Download Free eBook</a>

== EXPLORE OUR OTHER PLUGINS TO SUPERCHARGE YOUR WEBSITE: ==

== 👉 Premium WooCommerce Plugins list ==

<ol>
<li><a href="https://www.thedotstore.com/flat-rate-shipping-plugin-for-woocommerce/" target="_blank" rel="noreferrer noopener">Flat-rate shipping plugins for WooCommerce</a></li>
<li><a href="https://www.thedotstore.com/woocommerce-extra-fees-plugin/" target="_blank" rel="noreferrer noopener">WooCommerce Extra Fees Plugin</a></li>
<li><a href="https://www.thedotstore.com/woocommerce-advanced-product-size-charts/" target="_blank" rel="noreferrer noopener">Advanced Product Size Charts For WooCommerce</a></li>
<li><a href="https://www.thedotstore.com/hide-shipping-method-for-woocommerce/" target="_blank" rel="noreferrer noopener">Hide Shipping Method For WooCommerce</a></li>
<li><a href="https://www.thedotstore.com/woocommerce-product-attachment/" target="_blank" rel="noreferrer noopener">Product Attachment For WooCommerce</a></li>
<li><a href="https://www.thedotstore.com/woocommerce-anti-fraud/" rel="noreferrer noopener" target="_blank">Blocker – Prevent Fake Orders And Blacklist Fraud Customers</a></li>
<li><a href="http://www.thedotstore.com/woocommerce-enhanced-ecommerce-analytics-integration-with-conversion-tracking" rel="noreferrer noopener" target="_blank">Enhanced Ecommerce Google Analytics for WooCommerce</a></li>
<li><a href="https://www.thedotstore.com/product/woocommerce-category-banner-management/" rel="noreferrer noopener" target="_blank">Category Banner Management for Woocommerce</a></li>
<li><a href="https://www.thedotstore.com/woocommerce-product-finder/" target="_blank" rel="noreferrer noopener">Product Finder For WooCommerce</a></li>
<li><a href="https://www.thedotstore.com/mass-pages-posts-creator/" target="_blank" rel="noreferrer noopener">Mass Pages Posts Creator For WordPress</a></li>
<li><a href="https://www.thedotstore.com/woocommerce-conditional-discount-rules-for-checkout/" target="_blank" rel="noreferrer noopener">Conditional Discount Rules For WooCommerce Checkout</a></li>
<li><a href="https://www.thedotstore.com/woocommerce-checkout-for-digital-goods/" target="_blank" rel="noreferrer noopener">WooCommerce Checkout For Digital Goods</a></li>
<li><a href="https://www.thedotstore.com/advance-menu-manager-wordpress/" target="_blank" rel="noreferrer noopener">Advance Menu Manager For WordPress</a></li>
</ol>

= 👉  Some of our other free WooCommerce plugins: =

<ol>
<li><a href="https://wordpress.org/plugins/woo-shipping-display-mode/" target="_blank" rel="noreferrer noopener">Shipping Method Display Style for WooCommerce</a></li>
<li><a href="https://wordpress.org/plugins/min-and-max-quantity-for-woocommerce/" target="_blank" rel="noreferrer noopener">Minimum and Maximum Quantity for WooCommerce</a></li>
<li><a href="https://wordpress.org/plugins/commenting-feature/" target="_blank" rel="noreferrer noopener">Multicollab – Google Doc-Style Editorial Commenting for WordPress
</a></li>
<li><a href="https://wordpress.org/plugins/multipurpose-block/" target="_blank" rel="noreferrer noopener">Multipurpose Gutenberg Block</a></li>
</ol>

== Installation ==

* Download the plugin
* Upload the folder "conditional-payments" to wp-content/plugins (or upload a zip through the Wordpress admin)
* Activate and enjoy!

== Frequently Asked Questions ==

= Q. Does it work with any Payment Gateways? =
ANS: Yes, It's fully compatible with some popular Payment Gateways like WooCommerce Stripe, WooCommerce PayPal Checkout, WooCommerce PayFast Gateway, Braintree for WooCommerce Payment Gateway, etc.

= Q. Can I set multiple conditions and actions for one rule? =
ANS: Yes, You can add multiple conditions and actions for one rule.

= Q. Does it work with the Flat Rate Shipping plugin? =
ANS: Yes, It's working well with the Flat Rate Shipping plugin.

= Q. Can I restrict payments methods by billing or shipping fields? =
ANS: Yes, You can restrict payments methods by billing or shipping fields Like the First name, Last name, Address, etc.

= Q. Can I hide all payment gateways except the COD payment gateway when the user selects Local pickup? =
ANS: Yes. And it's very easy to do with our plugin.


== Screenshots ==

1.
2.
3.
4.
5.
6.
7.
8.

== Upgrade Notice ==

Automatic updates should work great for you.  As always, though, we recommend backing up your site prior to making any updates just to be sure nothing goes wrong.

== Changelog ==
= 1.2.3 =
* [New] Added new condition to restrict payment methods based on the specific state
* [Bug Fix] Minor fixes related to the variable product condition critical error
* [Bug Fix] Minor fixes related to the rule listing page bulk actions
* [Bug Fix] Minor fixes related to the plugin settings menu display
* [Enhancement] Compatibility with WooCommerce Bookings plugin
* [Enhancement] Compatibility with WooCommerce Subscription plugin
* [Enhancement] Compatible with WooCommerce 10.6.x
* [Enhancement] Compatible with WordPress 6.9.x

= 1.2.2 =
* [Bug Fix] Minor fixes related to the product based condition
* [Bug Fix] Minor fixes related to the numeric value validation on cart total and other conditions
* [Bug Fix] Minor fixes related to the calculation of cart subtotal based condition
* [Enhancement] Compatible with WooCommerce 9.7.x
* [Enhancement] Compatible with WordPress 6.7.x

= 1.2.1 =
* [Bug Fix] Minor fixes related to the COD payment gateway listing
* [Enhancement] Plugin compatibility with WooCommerce Cart and Checkout blocks
* [Enhancement] Compatible with WooCommerce 9.3.x
* [Enhancement] Compatible with WordPress 6.6.x

= 1.2.0 =
* [Enhancement] Plugin UI enhancement
* [Enhancement] Compatible with WooCommerce 9.2.x
* [Enhancement] Compatible with WordPress 6.6.x

= 1.1.5 =
* [Enhancement] Plugin UI enhancement
* [Enhancement] Compatible with WooCommerce 8.8.x
* [Enhancement] Compatible with WordPress 6.5.x

= 1.1.4 =
* [Bug Fix] Minor fixes related to the product specific conditions
* [Bug Fix] Minor fixes related to the Cross Site Request Forgery (CSRF) vulnerability
* [Enhancement] Plugin compatibility with WooCommerce High-Performance Order Storage (HPOS)
* [Enhancement] Plugin compatibility with PHP 8.2.x
* [Enhancement] Compatible with WooCommerce 8.2.x
* [Enhancement] Compatible with WordPress 6.4.x

= 1.1.3 =
* [Enhancement] Quick fix related to the Cross Site Scripting (XSS) vulnerability
* [Enhancement] Compatible with WooCommerce 7.9.x
* [Enhancement] Compatible with WordPress 6.2.x

= 1.1.2 =
* [New Feature] Conditional payments based on the day of the week
* [New Feature] Conditional payments based on the date
* [Bug Fix] Minor fixes related to the slow response issue in product specific rule
* [Bug Fix] Minor fixes related to the AND relation between two same conditions in one rule
* [Enhancement] Allows to select shipping methods from "Locations not covered by your other zones"
* [Enhancement] Ability to change rule status from listing page
* [Enhancement] Plugin compatibility with PHP 8.1.x
* [Enhancement] Plugin UI enhancement
* [Enhancement] Compatible with WooCommerce 7.5.x
* [Enhancement] Compatible with WordPress 6.2.x

= 1.1.1 =
* Bug Fix - Allows to add multiple cities separated by new line in city based rule
* Enhancement - UI enhancement
* Enhancement – Plugin compatibility with PHP-8
* Update – Compatible with WooCommerce 7.1.x
* Update – Compatible with WordPress 6.1.x

= 1.1.0 =
* Compatible with WooCommerce 6.5.x
* Compatible with WordPress 6.0.x

= 1.0.0 =
* initial release