{"id":154974,"date":"2022-04-05T11:57:57","date_gmt":"2022-04-05T11:57:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/conditional-payments\/"},"modified":"2025-07-18T11:57:18","modified_gmt":"2025-07-18T11:57:18","slug":"conditional-payments","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/conditional-payments\/","author":6778183,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.2","stable_tag":"1.2.2","tested":"6.7.5","requires":"5.0","requires_php":"5.6","requires_plugins":null,"header_name":"Conditional Payment Methods for WooCommerce","header_author":"theDotstore","header_description":"Conditional Payments for WooCommerce is a plugin that allows store owners to set the payment methods based on the various conditions.","assets_banners_color":"f9cacc","last_updated":"2025-07-18 11:57:18","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.thedotstore.com\/","header_plugin_uri":"https:\/\/www.thedotstore.com\/conditional-payments-for-woocommerce\/","header_author_uri":"https:\/\/www.thedotstore.com\/","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":15752,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"dots","date":"2022-04-12 11:43:14"},"1.1.0":{"tag":"1.1.0","author":"dots","date":"2022-11-30 10:05:15"},"1.1.1":{"tag":"1.1.1","author":"dots","date":"2022-11-30 10:05:15"},"1.1.2":{"tag":"1.1.2","author":"dots","date":"2023-04-13 02:05:17"},"1.1.3":{"tag":"1.1.3","author":"dots","date":"2023-07-24 07:19:04"},"1.1.4":{"tag":"1.1.4","author":"dots","date":"2023-11-08 10:42:58"},"1.1.5":{"tag":"1.1.5","author":"dots","date":"2024-05-14 07:24:33"},"1.2.0":{"tag":"1.2.0","author":"dots","date":"2024-08-29 08:13:55"},"1.2.1":{"tag":"1.2.1","author":"dots","date":"2024-10-23 10:10:35"},"1.2.2":{"tag":"1.2.2","author":"dots","date":"2025-07-18 11:57:18"}},"upgrade_notice":{"":"<p>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.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3009999,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250-old.jpeg":{"filename":"banner-772x250-old.jpeg","revision":3015363,"resolution":"772x250","location":"assets","locale":"old"},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3015363,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.2.0","1.2.1","1.2.2"],"block_files":[],"assets_screenshots":{"screenshot-1.jpeg":{"filename":"screenshot-1.jpeg","revision":3086424,"resolution":"1","location":"assets","locale":""},"screenshot-10.jpeg":{"filename":"screenshot-10.jpeg","revision":3086424,"resolution":"10","location":"assets","locale":""},"screenshot-11.jpeg":{"filename":"screenshot-11.jpeg","revision":3086424,"resolution":"11","location":"assets","locale":""},"screenshot-12.jpeg":{"filename":"screenshot-12.jpeg","revision":3086424,"resolution":"12","location":"assets","locale":""},"screenshot-2.jpeg":{"filename":"screenshot-2.jpeg","revision":3086424,"resolution":"2","location":"assets","locale":""},"screenshot-3.jpeg":{"filename":"screenshot-3.jpeg","revision":3086424,"resolution":"3","location":"assets","locale":""},"screenshot-4.jpeg":{"filename":"screenshot-4.jpeg","revision":3086424,"resolution":"4","location":"assets","locale":""},"screenshot-5.jpeg":{"filename":"screenshot-5.jpeg","revision":3086424,"resolution":"5","location":"assets","locale":""},"screenshot-6.jpeg":{"filename":"screenshot-6.jpeg","revision":3086424,"resolution":"6","location":"assets","locale":""},"screenshot-7.jpeg":{"filename":"screenshot-7.jpeg","revision":3086424,"resolution":"7","location":"assets","locale":""},"screenshot-8.jpeg":{"filename":"screenshot-8.jpeg","revision":3086424,"resolution":"8","location":"assets","locale":""},"screenshot-9.jpeg":{"filename":"screenshot-9.jpeg","revision":3086424,"resolution":"9","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[145322,131954,48222],"plugin_category":[],"plugin_contributors":[77586],"plugin_business_model":[],"class_list":["post-154974","plugin","type-plugin","status-publish","hentry","plugin_tags-conditional-payments","plugin_tags-payment-methods","plugin_tags-woocommerce-payments","plugin_contributors-dots","plugin_committers-dots","plugin_support_reps-hitendra-chopda"],"banners":{"banner":"https:\/\/ps.w.org\/conditional-payments\/assets\/banner-772x250.jpg?rev=3015363","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/conditional-payments\/assets\/icon-256x256.png?rev=3009999","icon_2x":"https:\/\/ps.w.org\/conditional-payments\/assets\/icon-256x256.png?rev=3009999","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/conditional-payments\/assets\/screenshot-1.jpeg?rev=3086424","caption":""},{"src":"https:\/\/ps.w.org\/conditional-payments\/assets\/screenshot-2.jpeg?rev=3086424","caption":""},{"src":"https:\/\/ps.w.org\/conditional-payments\/assets\/screenshot-3.jpeg?rev=3086424","caption":""},{"src":"https:\/\/ps.w.org\/conditional-payments\/assets\/screenshot-4.jpeg?rev=3086424","caption":""},{"src":"https:\/\/ps.w.org\/conditional-payments\/assets\/screenshot-5.jpeg?rev=3086424","caption":""},{"src":"https:\/\/ps.w.org\/conditional-payments\/assets\/screenshot-6.jpeg?rev=3086424","caption":""},{"src":"https:\/\/ps.w.org\/conditional-payments\/assets\/screenshot-7.jpeg?rev=3086424","caption":""},{"src":"https:\/\/ps.w.org\/conditional-payments\/assets\/screenshot-8.jpeg?rev=3086424","caption":""},{"src":"https:\/\/ps.w.org\/conditional-payments\/assets\/screenshot-9.jpeg?rev=3086424","caption":""},{"src":"https:\/\/ps.w.org\/conditional-payments\/assets\/screenshot-10.jpeg?rev=3086424","caption":""},{"src":"https:\/\/ps.w.org\/conditional-payments\/assets\/screenshot-11.jpeg?rev=3086424","caption":""},{"src":"https:\/\/ps.w.org\/conditional-payments\/assets\/screenshot-12.jpeg?rev=3086424","caption":""}],"raw_content":"<!--section=description-->\n<p>\ud83d\udc49 Allows store owners to restrict payment methods based on the various conditions!<\/p>\n\n<p><a href=\"https:\/\/www.thedotstore.com\/conditional-payments-for-woocommerce\/?utm_source=wporg&amp;utm_medium=freepluginlink&amp;utm_campaign=conditionalpayments_free&amp;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.<\/p>\n\n<p>This plugin works with default WooCommerce payment gateways and 3rd party payment gateways as well.<\/p>\n\n<p>For example, you can restrict Cash On Delivery, PayPal, Stripe or any other well known payment methods based on the different conditions.<\/p>\n\n<h3>EXAMPLE<\/h3>\n\n<p>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.<\/p>\n\n<p>With Conditional Payments plugin, you can add billing country condition to hide Stripe payment gateway.<\/p>\n\n<h3>\ud83d\udc81 Key benefits of conditional payments<\/h3>\n\n<p>\ud83d\udd11 Create unlimited payment methods restriction rules\n\ud83d\udd11 Limit payment methods based on the different conditions\n\ud83d\udd11 Reduce risks and boost your sales\n\ud83d\udd11 Restrict payments methods by billing and shipping fields<\/p>\n\n<p>Plugin - <a href=\"https:\/\/pluginsdemo.thedotstore.com\/conditional-payments-for-woocommerce\/\">VIEW LIVE DEMO<\/a><\/p>\n\n<p><strong>Free plugin:<\/strong> Need Technical Help? - <a href=\"https:\/\/wordpress.org\/support\/plugin\/conditional-payments\/\">Click here<\/a><\/p>\n\n<p><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\">Review Help Document<\/a><\/p>\n\n<h3>Key features of conditional payments - Free Version<\/h3>\n\n<ul>\n<li>Easy to setup conditional payments rules<\/li>\n<li>Create unlimited payment methods restriction rules<\/li>\n<li>Allows to restrict payments methods based on the conditions<\/li>\n<li>Add multiple conditions and actions to restrict payments gatways<\/li>\n<li>Support multiple payment gatways<\/li>\n<li>Enable or disable conditional payments rules<\/li>\n<li>Apply bulk actions on conditional payments rules<\/li>\n<li>Search conditional payments rules by keywords<\/li>\n<li>Restrict payments gatways based on the billing or shipping address fields<\/li>\n<\/ul>\n\n<h3>\ud83d\udc81 Contact Us or Submit Support Ticket<\/h3>\n\n<ul>\n<li><strong>Free plugin:<\/strong> Need Technical Help? - <a href=\"https:\/\/wordpress.org\/support\/plugin\/conditional-payments\/\">Click here<\/a><\/li>\n<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>\n<\/ul>\n\n<h3>\ud83c\udfaf Supercharge Your Store Performance<\/h3>\n\n<p>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.<\/p>\n\n<p><a href=\"https:\/\/www.thedotstore.com\/?popup_id=76452&amp;utm_source=freeplugin&amp;utm_medium=content&amp;utm_id=ebook1_conditional_payment\">Download Free eBook<\/a><\/p>\n\n<h3>EXPLORE OUR OTHER PLUGINS TO SUPERCHARGE YOUR WEBSITE:<\/h3>\n\n<h3>\ud83d\udc49 Premium WooCommerce Plugins list<\/h3>\n\n<ol>\n<li><a href=\"https:\/\/www.thedotstore.com\/flat-rate-shipping-plugin-for-woocommerce\/\" rel=\"noreferrer noopener\">Flat-rate shipping plugins for WooCommerce<\/a><\/li>\n<li><a href=\"https:\/\/www.thedotstore.com\/woocommerce-extra-fees-plugin\/\" rel=\"noreferrer noopener\">WooCommerce Extra Fees Plugin<\/a><\/li>\n<li><a href=\"https:\/\/www.thedotstore.com\/woocommerce-advanced-product-size-charts\/\" rel=\"noreferrer noopener\">Advanced Product Size Charts For WooCommerce<\/a><\/li>\n<li><a href=\"https:\/\/www.thedotstore.com\/hide-shipping-method-for-woocommerce\/\" rel=\"noreferrer noopener\">Hide Shipping Method For WooCommerce<\/a><\/li>\n<li><a href=\"https:\/\/www.thedotstore.com\/woocommerce-product-attachment\/\" rel=\"noreferrer noopener\">Product Attachment For WooCommerce<\/a><\/li>\n<li><a href=\"https:\/\/www.thedotstore.com\/woocommerce-anti-fraud\/\" rel=\"noreferrer noopener\">Blocker \u2013 Prevent Fake Orders And Blacklist Fraud Customers<\/a><\/li>\n<li><a href=\"http:\/\/www.thedotstore.com\/woocommerce-enhanced-ecommerce-analytics-integration-with-conversion-tracking\" rel=\"noreferrer noopener\">Enhanced Ecommerce Google Analytics for WooCommerce<\/a><\/li>\n<li><a href=\"https:\/\/www.thedotstore.com\/product\/woocommerce-category-banner-management\/\" rel=\"noreferrer noopener\">Category Banner Management for Woocommerce<\/a><\/li>\n<li><a href=\"https:\/\/www.thedotstore.com\/woocommerce-product-finder\/\" rel=\"noreferrer noopener\">Product Finder For WooCommerce<\/a><\/li>\n<li><a href=\"https:\/\/www.thedotstore.com\/mass-pages-posts-creator\/\" rel=\"noreferrer noopener\">Mass Pages Posts Creator For WordPress<\/a><\/li>\n<li><a href=\"https:\/\/www.thedotstore.com\/woocommerce-conditional-discount-rules-for-checkout\/\" rel=\"noreferrer noopener\">Conditional Discount Rules For WooCommerce Checkout<\/a><\/li>\n<li><a href=\"https:\/\/www.thedotstore.com\/woocommerce-checkout-for-digital-goods\/\" rel=\"noreferrer noopener\">WooCommerce Checkout For Digital Goods<\/a><\/li>\n<li><a href=\"https:\/\/www.thedotstore.com\/advance-menu-manager-wordpress\/\" rel=\"noreferrer noopener\">Advance Menu Manager For WordPress<\/a><\/li>\n<\/ol>\n\n<h4>\ud83d\udc49  Some of our other free WooCommerce plugins:<\/h4>\n\n<ol>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/woo-shipping-display-mode\/\" rel=\"noreferrer noopener\">Shipping Method Display Style for WooCommerce<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/min-and-max-quantity-for-woocommerce\/\" rel=\"noreferrer noopener\">Minimum and Maximum Quantity for WooCommerce<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/commenting-feature\/\" rel=\"noreferrer noopener\">Multicollab \u2013 Google Doc-Style Editorial Commenting for WordPress\n<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/multipurpose-block\/\" rel=\"noreferrer noopener\">Multipurpose Gutenberg Block<\/a><\/li>\n<\/ol>\n\n<!--section=installation-->\n<ul>\n<li>Download the plugin<\/li>\n<li>Upload the folder \"conditional-payments\" to wp-content\/plugins (or upload a zip through the Wordpress admin)<\/li>\n<li>Activate and enjoy!<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id='q.%20does%20it%20work%20with%20any%20payment%20gateways%3F'><h3>Q. Does it work with any Payment Gateways?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id='q.%20can%20i%20set%20multiple%20conditions%20and%20actions%20for%20one%20rule%3F'><h3>Q. Can I set multiple conditions and actions for one rule?<\/h3><\/dt>\n<dd><p>ANS: Yes, You can add multiple conditions and actions for one rule.<\/p><\/dd>\n<dt id='q.%20does%20it%20work%20with%20the%20flat%20rate%20shipping%20plugin%3F'><h3>Q. Does it work with the Flat Rate Shipping plugin?<\/h3><\/dt>\n<dd><p>ANS: Yes, It's working well with the Flat Rate Shipping plugin.<\/p><\/dd>\n<dt id='q.%20can%20i%20restrict%20payments%20methods%20by%20billing%20or%20shipping%20fields%3F'><h3>Q. Can I restrict payments methods by billing or shipping fields?<\/h3><\/dt>\n<dd><p>ANS: Yes, You can restrict payments methods by billing or shipping fields Like the First name, Last name, Address, etc.<\/p><\/dd>\n<dt id='q.%20can%20i%20hide%20all%20payment%20gateways%20except%20the%20cod%20payment%20gateway%20when%20the%20user%20selects%20local%20pickup%3F'><h3>Q. Can I hide all payment gateways except the COD payment gateway when the user selects Local pickup?<\/h3><\/dt>\n<dd><p>ANS: Yes. And it's very easy to do with our plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>[Bug Fix] Minor fixes related to the product based condition<\/li>\n<li>[Bug Fix] Minor fixes related to the numeric value validation on cart total and other conditions<\/li>\n<li>[Bug Fix] Minor fixes related to the calculation of cart subtotal based condition<\/li>\n<li>[Enhancement] Compatible with WooCommerce 9.7.x<\/li>\n<li>[Enhancement] Compatible with WordPress 6.7.x<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>[Bug Fix] Minor fixes related to the COD payment gateway listing<\/li>\n<li>[Enhancement] Plugin compatibility with WooCommerce Cart and Checkout blocks<\/li>\n<li>[Enhancement] Compatible with WooCommerce 9.3.x<\/li>\n<li>[Enhancement] Compatible with WordPress 6.6.x<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>[Enhancement] Plugin UI enhancement<\/li>\n<li>[Enhancement] Compatible with WooCommerce 9.2.x<\/li>\n<li>[Enhancement] Compatible with WordPress 6.6.x<\/li>\n<\/ul>\n\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>[Enhancement] Plugin UI enhancement<\/li>\n<li>[Enhancement] Compatible with WooCommerce 8.8.x<\/li>\n<li>[Enhancement] Compatible with WordPress 6.5.x<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>[Bug Fix] Minor fixes related to the product specific conditions<\/li>\n<li>[Bug Fix] Minor fixes related to the Cross Site Request Forgery (CSRF) vulnerability<\/li>\n<li>[Enhancement] Plugin compatibility with WooCommerce High-Performance Order Storage (HPOS)<\/li>\n<li>[Enhancement] Plugin compatibility with PHP 8.2.x<\/li>\n<li>[Enhancement] Compatible with WooCommerce 8.2.x<\/li>\n<li>[Enhancement] Compatible with WordPress 6.4.x<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>[Enhancement] Quick fix related to the Cross Site Scripting (XSS) vulnerability<\/li>\n<li>[Enhancement] Compatible with WooCommerce 7.9.x<\/li>\n<li>[Enhancement] Compatible with WordPress 6.2.x<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>[New Feature] Conditional payments based on the day of the week<\/li>\n<li>[New Feature] Conditional payments based on the date<\/li>\n<li>[Bug Fix] Minor fixes related to the slow response issue in product specific rule<\/li>\n<li>[Bug Fix] Minor fixes related to the AND relation between two same conditions in one rule<\/li>\n<li>[Enhancement] Allows to select shipping methods from \"Locations not covered by your other zones\"<\/li>\n<li>[Enhancement] Ability to change rule status from listing page<\/li>\n<li>[Enhancement] Plugin compatibility with PHP 8.1.x<\/li>\n<li>[Enhancement] Plugin UI enhancement<\/li>\n<li>[Enhancement] Compatible with WooCommerce 7.5.x<\/li>\n<li>[Enhancement] Compatible with WordPress 6.2.x<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Bug Fix - Allows to add multiple cities separated by new line in city based rule<\/li>\n<li>Enhancement - UI enhancement<\/li>\n<li>Enhancement \u2013 Plugin compatibility with PHP-8<\/li>\n<li>Update \u2013 Compatible with WooCommerce 7.1.x<\/li>\n<li>Update \u2013 Compatible with WordPress 6.1.x<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Compatible with WooCommerce 6.5.x<\/li>\n<li>Compatible with WordPress 6.0.x<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>initial release<\/li>\n<\/ul>","raw_excerpt":"Allows store owners to restrict payment methods based on the various conditions!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/154974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=154974"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dots"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=154974"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=154974"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=154974"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=154974"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=154974"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=154974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}