{"id":91108,"date":"2018-09-08T11:16:21","date_gmt":"2018-09-08T11:16:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/conditional-payments-for-woocommerce\/"},"modified":"2026-01-07T10:55:46","modified_gmt":"2026-01-07T10:55:46","slug":"conditional-payments-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/conditional-payments-for-woocommerce\/","author":15652881,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.4.1","stable_tag":"3.4.1","tested":"6.9.4","requires":"4.5","requires_php":"7.0","requires_plugins":null,"header_name":"Conditional Payments for WooCommerce","header_author":"Lauri Karisola \/ WP Trio","header_description":"Disable payment methods based on shipping methods, customer address and much more.","assets_banners_color":"3d7bb8","last_updated":"2026-01-07 10:55:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/wptrio.com","rating":4.6,"author_block_rating":0,"active_installs":10000,"downloads":223148,"num_ratings":27,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"wooelements","date":"2018-09-08 14:23:18"},"1.0.1":{"tag":"1.0.1","author":"wooelements","date":"2018-09-08 14:32:20"},"1.0.2":{"tag":"1.0.2","author":"wooelements","date":"2019-01-10 19:25:44"},"1.0.3":{"tag":"1.0.3","author":"wooelements","date":"2019-05-08 08:55:12"},"2.0.0":{"tag":"2.0.0","author":"wooelements","date":"2019-06-17 08:29:30"},"2.0.1":{"tag":"2.0.1","author":"wooelements","date":"2019-06-26 14:14:23"},"2.0.2":{"tag":"2.0.2","author":"wooelements","date":"2019-07-12 22:15:29"},"2.1.4":{"tag":"2.1.4","author":"wooelements","date":"2019-09-04 08:35:40"},"2.1.5":{"tag":"2.1.5","author":"wooelements","date":"2020-08-16 10:08:29"},"2.2.0":{"tag":"2.2.0","author":"wooelements","date":"2020-08-27 13:54:13"},"2.2.1":{"tag":"2.2.1","author":"wooelements","date":"2020-09-11 11:55:51"},"2.2.2":{"tag":"2.2.2","author":"wooelements","date":"2020-11-25 08:19:11"},"2.2.3":{"tag":"2.2.3","author":"wooelements","date":"2021-04-21 13:08:24"},"2.2.4":{"tag":"2.2.4","author":"wooelements","date":"2021-10-25 13:34:19"},"2.3.0":{"tag":"2.3.0","author":"wooelements","date":"2022-03-18 10:44:10"},"2.3.1":{"tag":"2.3.1","author":"wooelements","date":"2022-03-22 08:55:31"},"2.3.2":{"tag":"2.3.2","author":"wooelements","date":"2022-12-13 11:03:17"},"2.4.0":{"tag":"2.4.0","author":"wooelements","date":"2023-03-02 15:54:07"},"2.4.1":{"tag":"2.4.1","author":"wooelements","date":"2023-03-05 23:01:50"},"3.0.0":{"tag":"3.0.0","author":"wooelements","date":"2023-05-17 11:39:40"},"3.0.1":{"tag":"3.0.1","author":"wooelements","date":"2023-07-24 08:43:51"},"3.0.2":{"tag":"3.0.2","author":"wooelements","date":"2023-11-03 13:32:16"},"3.0.3":{"tag":"3.0.3","author":"wooelements","date":"2024-01-23 15:07:52"},"3.1.0":{"tag":"3.1.0","author":"wooelements","date":"2024-04-15 07:27:15"},"3.2.0":{"tag":"3.2.0","author":"wooelements","date":"2024-10-04 10:50:16"},"3.2.1":{"tag":"3.2.1","author":"wooelements","date":"2024-12-18 10:57:09"},"3.3.0":{"tag":"3.3.0","author":"wooelements","date":"2025-01-14 08:42:51"},"3.3.1":{"tag":"3.3.1","author":"wooelements","date":"2025-04-02 08:17:43"},"3.3.2":{"tag":"3.3.2","author":"wooelements","date":"2025-05-19 12:05:06"},"3.3.3":{"tag":"3.3.3","author":"wooelements","date":"2025-08-04 09:25:41"},"3.4.0":{"tag":"3.4.0","author":"wooelements","date":"2025-11-05 07:32:05"},"3.4.1":{"tag":"3.4.1","author":"wooelements","date":"2026-01-07 10:55:46"}},"upgrade_notice":[],"ratings":{"1":2,"2":1,"3":0,"4":0,"5":24},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1937949,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1937949,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","2.0.0","2.0.1","2.0.2","2.1.4","2.1.5","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.3.0","2.3.1","2.3.2","2.4.0","2.4.1","3.0.0","3.0.1","3.0.2","3.0.3","3.1.0","3.2.0","3.2.1","3.3.0","3.3.1","3.3.2","3.3.3","3.4.0","3.4.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2106726,"resolution":"1","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[145322,131954,48222],"plugin_category":[],"plugin_contributors":[146194],"plugin_business_model":[],"class_list":["post-91108","plugin","type-plugin","status-publish","hentry","plugin_tags-conditional-payments","plugin_tags-payment-methods","plugin_tags-woocommerce-payments","plugin_contributors-wooelements","plugin_committers-wooelements","plugin_support_reps-laurikar"],"banners":{"banner":"https:\/\/ps.w.org\/conditional-payments-for-woocommerce\/assets\/banner-772x250.png?rev=1937949","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/conditional-payments-for-woocommerce\/assets\/icon-128x128.png?rev=1937949","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/conditional-payments-for-woocommerce\/assets\/screenshot-1.png?rev=2106726","caption":""}],"raw_content":"<!--section=description-->\n<p>Conditional Payments for WooCommerce allows you to restrict payment methods based on conditions. For example, you can enable Cash on Delivery only when the shipping method is Local pickup.<\/p>\n\n<p>The plugin works with your existing payment methods. You can restrict PayPal, Stripe, Cash on Delivery and any other payment method.<\/p>\n\n<h4>Example 1<\/h4>\n\n<p>You have two payment methods, PayPal and Cash on Delivery. PayPal can be used for all orders but COD only when the customer pickups the order.<\/p>\n\n<p>With Conditional Payments you can add shipping method condition to Cash on Delivery which checks that the shipping method is Local pickup.<\/p>\n\n<h4>Example 2<\/h4>\n\n<p>You want to provide invoice payment method only for business customers. You can add billing company condition to Invoice to prevent private customers from ordering with Invoice.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Hide payment methods based on conditions<\/li>\n<li>Show payment methods based on conditions<\/li>\n<li>Works with built-in and 3rd party payment methods<\/li>\n<li>Debug mode for easy troubleshooting<\/li>\n<\/ul>\n\n<h4>Available Conditions<\/h4>\n\n<ul>\n<li>Products<\/li>\n<li>Order Subtotal<\/li>\n<li>Shipping method<\/li>\n<li>Billing address (all fields)<\/li>\n<li>Shipping address (all fields)<\/li>\n<\/ul>\n\n<h4>Pro Features<\/h4>\n\n<ul>\n<li>All free features<\/li>\n<li>Add payment method fees conditionally<\/li>\n<li>More conditions\n\n<ul>\n<li>Coupon<\/li>\n<li>Currency<\/li>\n<li>Stock status (in stock, backorders)<\/li>\n<li>Shipping class<\/li>\n<li>Product category<\/li>\n<li>Logged in \/ out<\/li>\n<li>User role<\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/groups\/\">Groups<\/a><\/li>\n<li>Language (Polylang or WPML)<\/li>\n<li>And more<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/wptrio.com\/products\/conditional-payments\/\">Upgrade to Pro<\/a><\/p>\n\n<h4>Support Policy<\/h4>\n\n<p>If you need any help with the plugin, please create a new post on the <a href=\"https:\/\/wordpress.org\/support\/plugin\/conditional-payments-for-woocommerce\/\">WordPress plugin support forum<\/a>. It will be checked regularly but please note that response cannot be guaranteed to all issues. Priority email support is available for the Pro version.<\/p>\n\n<h4>Other Useful Plugins<\/h4>\n\n<p>Make sure to check out other useful plugins from the author.<\/p>\n\n<ul>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/conditional-shipping-for-woocommerce\">Conditional Shipping for WooCommerce<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/stock-sync-for-woocommerce\/\">Stock Sync for WooCommerce<\/a><\/li>\n<li><a href=\"https:\/\/wptrio.com\/products\/woocommerce-product-sync-pro\/\">Product Sync for WooCommerce<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Conditional Payments is installed just like any other WordPress plugin.<\/p>\n\n<ol>\n<li>Download the plugin zip file<\/li>\n<li>Go to Plugins in the WordPress admin panel<\/li>\n<li>Click Add new and Upload plugin<\/li>\n<li>Choose the downloaded zip file and upload it<\/li>\n<li>Activate the plugin<\/li>\n<\/ol>\n\n<p>Once the plugin is activated, you can add rulesets in <em>WooCommerce &gt; Settings &gt; Payments &gt; Conditions<\/em>.<\/p>\n\n<!--section=changelog-->\n<h4>3.4.1<\/h4>\n\n<ul>\n<li>Added <strong>is<\/strong> and <strong>is not<\/strong> operators for billing and shipping city conditions. City input now allows a list separated by newlines<\/li>\n<\/ul>\n\n<h4>3.4.0<\/h4>\n\n<ul>\n<li>Added <strong>Admin only<\/strong> mode for the debug mode to make it visible only for administrators (previously visible to all users)<\/li>\n<li>Improved compatibility with the blocks checkout<\/li>\n<\/ul>\n\n<h4>3.3.3<\/h4>\n\n<ul>\n<li>Restored <strong>Conditions<\/strong> link for WooCommerce versions 9.9.x and 10.x.x<\/li>\n<\/ul>\n\n<h4>3.3.2<\/h4>\n\n<ul>\n<li>Restored <strong>Conditions<\/strong> link in the <strong>Payments<\/strong> section of the settings, which was inadvertently removed in WooCommerce 9.8.5<\/li>\n<li>Improved compatibility with TeraWallet<\/li>\n<li>Minor UI improvements<\/li>\n<\/ul>\n\n<h4>3.3.1<\/h4>\n\n<ul>\n<li>Improved compatibility with the blocks checkout<\/li>\n<li>Improved plugin security related to CSRF<\/li>\n<\/ul>\n\n<h4>3.3.0<\/h4>\n\n<ul>\n<li>Added multicurrency support for <strong>CURCY - Multi Currency for WooCommerce<\/strong><\/li>\n<\/ul>\n\n<h4>3.2.1<\/h4>\n\n<ul>\n<li>Fixed a bug that caused the <strong>Shipping method - is<\/strong> condition to be evaluated incorrectly for virtual orders<\/li>\n<\/ul>\n\n<h4>3.2.0<\/h4>\n\n<ul>\n<li>Added <strong>Duplicate ruleset<\/strong> feature<\/li>\n<li>Added <strong>equals<\/strong> operator for numerical conditions<\/li>\n<li>Improved <strong>Shipping method - is - Match by name<\/strong> feature to work better with dynamic shipping rates<\/li>\n<li>Improved user interface performance<\/li>\n<li>Minor bug fixes<\/li>\n<\/ul>\n\n<h4>3.0.3<\/h4>\n\n<ul>\n<li>Declared compatibility with WordPress 6.4.x<\/li>\n<\/ul>\n\n<h4>3.0.2<\/h4>\n\n<ul>\n<li>Added multicurrency support for <em><\/em><em>Price Based on Country for WooCommerce<\/em><\/li>\n<\/ul>\n\n<h4>3.0.1<\/h4>\n\n<ul>\n<li>Declared compatibility with High-Performance Order Storage (HPOS)<\/li>\n<li>Added option for hiding Pro features<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<ul>\n<li>Added debug mode for easy troubleshooting<\/li>\n<li>Rulesets can now be ordered by drag-and-drop. Rulesets are evaluated from top to bottom<\/li>\n<li>Improved user interface<\/li>\n<\/ul>\n\n<h4>2.4.1<\/h4>\n\n<ul>\n<li>Fixed bug which crashed the checkout if WooCommerce Multilingual &amp; Multicurrency by WPML was activated but multicurrency functionality was not enabled<\/li>\n<\/ul>\n\n<h4>2.4.0<\/h4>\n\n<ul>\n<li>Added AND \/ OR selection for rulesets (one \/ all conditions have to pass)<\/li>\n<li>Added support for the following multi-currency plugins: <em><\/em><em>Aelia Currency Switcher for WooCommerce<\/em>, <em><\/em><em>FOX - Currency Switcher Professional for WooCommerce<\/em> and <em><\/em><em>WooCommerce Multilingual &amp; Multicurrency (by WPML)<\/em><\/li>\n<li>Improved compatibility with WPML<\/li>\n<\/ul>\n\n<h4>2.3.2<\/h4>\n\n<ul>\n<li>CSRF fix<\/li>\n<\/ul>\n\n<h4>2.3.1<\/h4>\n\n<ul>\n<li>Removed unnecessary error logging<\/li>\n<\/ul>\n\n<h4>2.3.0<\/h4>\n\n<ul>\n<li>Added <em>Disable all<\/em> setting for disabling all rulesets at once (<em>WooCommerce &gt; Settings &gt; Payments &gt; Conditions &gt; Disable all<\/em>) for easy troubleshooting<\/li>\n<li>Added condition for customer billing \/ shipping state<\/li>\n<li>Updated WooCommerce compatibility info<\/li>\n<\/ul>\n\n<h4>2.2.3<\/h4>\n\n<ul>\n<li>Updated WooCommerce compatibility info<\/li>\n<\/ul>\n\n<h4>2.2.2<\/h4>\n\n<ul>\n<li>Removed debug message causing unnecessary log messages<\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>Fixed bug with Products condition which prevented it to work with a lot of product variations<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Added AJAX toggle for ruleset state (enabled \/ disabled)<\/li>\n<li>Added Health Check to catch common issues with rulesets<\/li>\n<li>Excluded taxes from the subtotal condition if the store displays subtotal excluding tax (<em>WooCommerce &gt; Settings &gt; Tax &gt; Display prices during cart and checkout<\/em>). <em>Please note!<\/em> Ensure rulesets are working correctly after updating if you have subtotal conditions.<\/li>\n<li>For developers: added better support for implementing custom conditions<\/li>\n<\/ul>\n\n<h4>2.1.5<\/h4>\n\n<ul>\n<li>WooCommerce 4.1.x compatibility check<\/li>\n<li>Made address filters case-insensitive (previously case-sensitive)<\/li>\n<li>For developers: added WP filters for adding support for 3rd party shipping method plugins<\/li>\n<\/ul>\n\n<h4>2.1.4<\/h4>\n\n<ul>\n<li>Improved product search<\/li>\n<li>Added range and wildcard filtering for postcode condition<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Added functionality for enabling \/ disabling rulesets<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Fixed bug which caused error message on frontend related to JavaScript file enqueuing<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Moved conditions from payment method setting pages to separate settings page (WooCommerce &gt; Settings &gt; Payments &gt; Conditions). This change will allow more advanced functionality in upcoming versions. Important! Check that conditions are working correctly after updating.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Updated compatibility info<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fixed Javascript issue which caused conditions disappear in some cases<\/li>\n<li>Added support for Flexible Shipping plugin<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added link to Pro version<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial version<\/li>\n<\/ul>","raw_excerpt":"Restrict WooCommerce payment methods based on conditions. Works with your existing payment methods.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/91108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=91108"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wooelements"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=91108"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=91108"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=91108"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=91108"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=91108"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=91108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}