{"id":354645,"date":"2026-08-29T04:28:48","date_gmt":"2026-08-29T04:28:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/payment-rules-for-woocommerce\/"},"modified":"2026-08-29T04:28:11","modified_gmt":"2026-08-29T04:28:11","slug":"deo-payment-rules-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/bcc.wordpress.org\/plugins\/deo-payment-rules-for-woocommerce\/","author":23546527,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.0","stable_tag":"1.2.0","tested":"7.1","requires":"6.5","requires_php":"8.0","requires_plugins":null,"header_name":"Deo Payment Rules for WooCommerce","header_author":"Deoworkz","header_description":"Conditionally hides WooCommerce payment gateways using flexible checkout rules.","assets_banners_color":"908dc1","last_updated":"2026-08-29 04:28:11","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/deoworkz.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":39,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2.0":{"tag":"1.2.0","author":"deoworkz","date":"2026-08-29 04:28:11","revision":3671107}},"upgrade_notice":{"1.2.0":"<p>Adds flexible payment gateway rules, Safety Guard, Basic Simulator, and\nWooCommerce compatibility improvements.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":3671113,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":3671113,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3671113,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3671113,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3671113,"resolution":"1","location":"assets","locale":"","width":516,"height":554},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3671113,"resolution":"2","location":"assets","locale":"","width":493,"height":554},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3671113,"resolution":"3","location":"assets","locale":"","width":512,"height":554},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3671113,"resolution":"4","location":"assets","locale":"","width":516,"height":439},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3671113,"resolution":"5","location":"assets","locale":"","width":493,"height":440},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3671113,"resolution":"6","location":"assets","locale":"","width":512,"height":440}},"screenshots":{"1":"Rules dashboard showing payment rules, status, and execution order.","2":"Create a payment rule using conditions to hide selected payment\ngateways.","3":"Combine multiple conditions using ALL or ANY logic to control\npayment gateway availability.","4":"Basic Rule Simulator for testing payment rules without affecting the\nlive checkout.","5":"Settings and Safety Guard options for protecting checkout payment\navailability.","6":"WooCommerce checkout with payment gateway availability controlled by\nan active rule."}},"plugin_section":[],"plugin_tags":[3148,130308,282,6594,286],"plugin_category":[45],"plugin_contributors":[278142],"plugin_business_model":[],"class_list":["post-354645","plugin","type-plugin","status-publish","hentry","plugin_tags-checkout","plugin_tags-conditional-logic","plugin_tags-ecommerce","plugin_tags-payment-gateways","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-deoworkz","plugin_committers-deoworkz"],"banners":{"banner":"https:\/\/ps.w.org\/deo-payment-rules-for-woocommerce\/assets\/banner-772x250.jpg?rev=3671113","banner_2x":"https:\/\/ps.w.org\/deo-payment-rules-for-woocommerce\/assets\/banner-1544x500.jpg?rev=3671113","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/deo-payment-rules-for-woocommerce\/assets\/icon-128x128.jpg?rev=3671113","icon_2x":"https:\/\/ps.w.org\/deo-payment-rules-for-woocommerce\/assets\/icon-256x256.jpg?rev=3671113","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/deo-payment-rules-for-woocommerce\/assets\/screenshot-1.png?rev=3671113","caption":"Rules dashboard showing payment rules, status, and execution order."},{"src":"https:\/\/ps.w.org\/deo-payment-rules-for-woocommerce\/assets\/screenshot-2.png?rev=3671113","caption":"Create a payment rule using conditions to hide selected payment\ngateways."},{"src":"https:\/\/ps.w.org\/deo-payment-rules-for-woocommerce\/assets\/screenshot-3.png?rev=3671113","caption":"Combine multiple conditions using ALL or ANY logic to control\npayment gateway availability."},{"src":"https:\/\/ps.w.org\/deo-payment-rules-for-woocommerce\/assets\/screenshot-4.png?rev=3671113","caption":"Basic Rule Simulator for testing payment rules without affecting the\nlive checkout."},{"src":"https:\/\/ps.w.org\/deo-payment-rules-for-woocommerce\/assets\/screenshot-5.png?rev=3671113","caption":"Settings and Safety Guard options for protecting checkout payment\navailability."},{"src":"https:\/\/ps.w.org\/deo-payment-rules-for-woocommerce\/assets\/screenshot-6.png?rev=3671113","caption":"WooCommerce checkout with payment gateway availability controlled by\nan active rule."}],"raw_content":"<!--section=description-->\n<p>Deo Payment Rules for WooCommerce lets store owners conditionally hide\nWooCommerce payment methods using rules based on cart, product,\nshipping, billing, and customer context.<\/p>\n\n<p>The Free plugin includes:<\/p>\n\n<ul>\n<li>Cart Total, Cart Subtotal, Cart Quantity, Product, Product Quantity,\nProduct Category, Coupon, Shipping Method, Shipping Country, Billing\nCountry, and User Role conditions.<\/li>\n<li>Hide Payment Gateway.<\/li>\n<li>Flat ALL and ANY condition logic.<\/li>\n<li>Execution Order for predictable rule precedence.<\/li>\n<li>A Safety Guard that never adds a gateway WooCommerce did not make\navailable.<\/li>\n<li>A Basic Simulator for testing rule outcomes without changing the\nlive cart.<\/li>\n<li>Basic diagnostics, Classic Checkout support, and the validated\nCheckout Blocks foundation.<\/li>\n<\/ul>\n\n<p>Deo Payment Rules for WooCommerce is independent software and is not\naffiliated with or endorsed by Automattic or WooCommerce.<\/p>\n\n<h3>Data and privacy<\/h3>\n\n<p>Deo Payment Rules for WooCommerce does not transmit data to external\nservices and does not collect telemetry. Rules and settings are stored\nin the local WordPress database. During checkout, rules may read the\nWooCommerce context needed for a configured condition, such as cart,\naddress, user role, or billing email domain, but this plugin does not\nsend that context externally. Optional debug logging should be enabled\nonly while troubleshooting and is managed through WooCommerce\u2019s logger.<\/p>\n\n<h3>Compatibility<\/h3>\n\n<ul>\n<li>WordPress 6.5 or newer.<\/li>\n<li>PHP 8.0 or newer.<\/li>\n<li>WooCommerce 8.0 or newer.<\/li>\n<li>Classic Checkout: tested in the project validation environment.<\/li>\n<li>Checkout Blocks: tested in the project validation environment for\ngateway visibility and server-calculated behavior.<\/li>\n<li>HPOS: declared compatible and tested in the project validation\nenvironment.<\/li>\n<li>Multisite: not tested and not advertised as supported.<\/li>\n<\/ul>\n\n<p>WooCommerce is a trademark of Automattic Inc.\u00a0This plugin is not\naffiliated with or endorsed by Automattic.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate WooCommerce.<\/li>\n<li>Upload the deo-payment-rules-for-woocommerce directory to\n\/wp-content\/plugins\/, or install the ZIP from Plugins \u2192 Add New \u2192\nUpload Plugin.<\/li>\n<li>Activate Deo Payment Rules for WooCommerce from Plugins.<\/li>\n<li>Open WooCommerce \u2192 Payment Rules.<\/li>\n<li>Create a rule, choose Enabled or Disabled, set its Execution Order,\nselect conditions, choose Hide Payment Gateway, and save.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20work%20with%20cash%20on%20delivery%20%28cod%29%3F\"><h3>Does it work with Cash on Delivery (COD)?<\/h3><\/dt>\n<dd><p>Yes. Select Cash on Delivery in a Hide Payment Gateway rule. WooCommerce\nmust already consider the gateway available for the rule to affect it.<\/p><\/dd>\n<dt id=\"can%20i%20hide%20payment%20methods%20by%20cart%20total%3F\"><h3>Can I hide payment methods by cart total?<\/h3><\/dt>\n<dd><p>Yes. Add Cart Total or Cart Subtotal, select an operator, and enter the\namount used by your rule.<\/p><\/dd>\n<dt id=\"can%20i%20use%20or%20logic%3F\"><h3>Can I use OR logic?<\/h3><\/dt>\n<dd><p>Yes. Choose ANY for a flat rule when at least one valid condition should\nmatch. Choose ALL when every condition must match.<\/p><\/dd>\n<dt id=\"can%20i%20hide%20payment%20methods%20by%20country%3F\"><h3>Can I hide payment methods by country?<\/h3><\/dt>\n<dd><p>Yes. Shipping Country and Billing Country are included in Free.<\/p><\/dd>\n<dt id=\"can%20i%20hide%20payment%20methods%20by%20product%20or%20category%3F\"><h3>Can I hide payment methods by product or category?<\/h3><\/dt>\n<dd><p>Yes. Product, Product Quantity, and Product Category conditions are\nincluded in Free.<\/p><\/dd>\n<dt id=\"what%20is%20execution%20order%3F\"><h3>What is Execution Order?<\/h3><\/dt>\n<dd><p>Rules run from the lowest number to the highest number. If rules\nconflict, later matching rules can determine the final gateway state.\nDifferent numbers are recommended when precedence matters.<\/p><\/dd>\n<dt id=\"what%20is%20the%20safety%20guard%3F\"><h3>What is the Safety Guard?<\/h3><\/dt>\n<dd><p>When enabled, the guard preserves a configured fallback gateway, or\nWooCommerce\u2019s first originally available gateway, if rules would\notherwise remove every available gateway. It never adds an unavailable\ngateway.<\/p><\/dd>\n<dt id=\"what%20is%20the%20basic%20simulator%3F\"><h3>What is the Basic Simulator?<\/h3><\/dt>\n<dd><p>The Basic Simulator evaluates Free rules against synthetic cart and\ncheckout values. It does not modify the live cart, customer session,\norder, rules, or settings.<\/p><\/dd>\n<dt id=\"why%20does%20a%20rule%20say%20requires%20pro%20or%20not%20evaluated%3F\"><h3>Why does a rule say Requires Pro or Not evaluated?<\/h3><\/dt>\n<dd><p>The rule contains a component supplied by a separate compatible\nextension. Its stored configuration and enabled\/disabled status are\npreserved, but it is not evaluated until the compatible extension is\nactive.<\/p><\/dd>\n<dt id=\"does%20deactivation%20delete%20my%20rules%3F\"><h3>Does deactivation delete my rules?<\/h3><\/dt>\n<dd><p>No.\u00a0Deactivation does not delete rule data or settings.<\/p><\/dd>\n<dt id=\"does%20uninstall%20delete%20my%20rules%3F\"><h3>Does uninstall delete my rules?<\/h3><\/dt>\n<dd><p>By default, no. An administrator can explicitly enable Delete plugin\ndata on uninstall in the plugin settings. Shared data is preserved when\na compatible extension using that data is still installed or active.<\/p><\/dd>\n<dt id=\"does%20it%20support%20checkout%20blocks%3F\"><h3>Does it support Checkout Blocks?<\/h3><\/dt>\n<dd><p>Free provides the validated server-side Checkout Blocks foundation for\ngateway visibility. A third-party gateway must participate in\nWooCommerce\u2019s supported payment-method extension APIs.<\/p><\/dd>\n<dt id=\"does%20it%20support%20hpos%3F\"><h3>Does it support HPOS?<\/h3><\/dt>\n<dd><p>The plugin declares compatibility with WooCommerce High-Performance\nOrder Storage and does not store order data in a custom order table.<\/p><\/dd>\n<dt id=\"does%20it%20send%20data%20externally%3F\"><h3>Does it send data externally?<\/h3><\/dt>\n<dd><p>No.\u00a0Free has no telemetry, license service, remote runtime requests,\nexternal API client, or remotely loaded code. Rule evaluation uses the\ncurrent site and WooCommerce context.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added flexible payment gateway conditions for cart, product,\nshipping, billing, and customer context.<\/li>\n<li>Added flat ALL\/ANY condition matching and Execution Order.<\/li>\n<li>Added Payment Safety Guard and Basic Rule Simulator.<\/li>\n<li>Added Checkout Blocks and HPOS compatibility.<\/li>\n<li>Improved diagnostics, privacy handling, and uninstall behavior.<\/li>\n<li>Preserved compatible stored rule data and extension\ninteroperability.<\/li>\n<\/ul>","raw_excerpt":"Conditionally hide WooCommerce payment methods using flexible checkout rules.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/354645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=354645"}],"author":[{"embeddable":true,"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/deoworkz"}],"wp:attachment":[{"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=354645"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=354645"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=354645"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=354645"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=354645"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=354645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}