{"id":253495,"date":"2025-09-26T15:03:27","date_gmt":"2025-09-26T15:03:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/beep-woo-conditional-payments\/"},"modified":"2026-06-18T10:25:01","modified_gmt":"2026-06-18T10:25:01","slug":"beep-conditional-payments","status":"publish","type":"plugin","link":"https:\/\/bcc.wordpress.org\/plugins\/beep-conditional-payments\/","author":23177196,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.4","stable_tag":"1.0.4","tested":"7.0","requires":"5.8","requires_php":"8.0","requires_plugins":null,"header_name":"Beep Conditional Payments","header_author":"Beepcoder","header_description":"Allow WooCommerce store owners to show or hide payment gateways based on flexible conditions.","assets_banners_color":"efa094","last_updated":"2026-06-18 10:25:01","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/beepcoder.com","header_plugin_uri":"https:\/\/beepcoder.com\/beep-conditional-payments\/","header_author_uri":"https:\/\/beepcoder.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":667,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.2":{"tag":"1.0.2","author":"beepcoder","date":"2025-09-26 15:04:32"},"1.0.3":{"tag":"1.0.3","author":"beepcoder","date":"2026-04-27 08:57:57"},"1.0.4":{"tag":"1.0.4","author":"beepcoder","date":"2026-06-18 10:25:01"}},"upgrade_notice":{"1.0.4":"<p>Fixes ruleset editor warnings, block checkout sync, role search, and the Pro upgrade modal. Tested on WordPress 7.0. Pro links now point to beepcoder.com\/beep-conditional-payments.<\/p>","1.0.3":"<p>Pro upgrade dialog uses a branding image instead of the old discount tile; optional custom logo via <code>admin\/images\/icon-256x256.png<\/code>.<\/p>","1.0.2":"<p>Settings now live under Payments \u2192 Conditions. Old bookmarks to the previous tab redirect automatically.<\/p>","1.0.1":"<p>Security and code quality improvements. Please update to ensure compliance with WordPress coding standards.<\/p>","1.0.0":"<p>First release of Conditional Payments for WooCommerce. Create flexible rules to control checkout payment methods.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3516223,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3516223,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500-rtl.png":{"filename":"banner-1544x500-rtl.png","revision":3516223,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3516223,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250-rtl.png":{"filename":"banner-772x250-rtl.png","revision":3516223,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3516223,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.2","1.0.3","1.0.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3516223,"resolution":"1","location":"assets","locale":"","width":1024,"height":530},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3516223,"resolution":"2","location":"assets","locale":"","width":1024,"height":530},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3516223,"resolution":"3","location":"assets","locale":"","width":1024,"height":530},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3516223,"resolution":"4","location":"assets","locale":"","width":1024,"height":530}},"screenshots":{"1":"Rulesets overview page with enable\/disable toggle.","2":"Rule editor \u2013 add conditions and actions.","3":"Pro upgrade modal with feature list when selecting locked conditions.","4":"Tools section \u2013 export\/import rulesets.","5":"Example checkout with hidden payment methods."}},"plugin_section":[],"plugin_tags":[3148,145322,6594,1887,286],"plugin_category":[45],"plugin_contributors":[239278,239279],"plugin_business_model":[],"class_list":["post-253495","plugin","type-plugin","status-publish","hentry","plugin_tags-checkout","plugin_tags-conditional-payments","plugin_tags-payment-gateways","plugin_tags-payments","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-beepcoder","plugin_contributors-sarwarz","plugin_committers-beepcoder"],"banners":{"banner":"https:\/\/ps.w.org\/beep-conditional-payments\/assets\/banner-772x250.png?rev=3516223","banner_2x":"https:\/\/ps.w.org\/beep-conditional-payments\/assets\/banner-1544x500.png?rev=3516223","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/beep-conditional-payments\/assets\/icon-128x128.png?rev=3516223","icon_2x":"https:\/\/ps.w.org\/beep-conditional-payments\/assets\/icon-256x256.png?rev=3516223","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/beep-conditional-payments\/assets\/screenshot-1.png?rev=3516223","caption":"Rulesets overview page with enable\/disable toggle."},{"src":"https:\/\/ps.w.org\/beep-conditional-payments\/assets\/screenshot-2.png?rev=3516223","caption":"Rule editor \u2013 add conditions and actions."},{"src":"https:\/\/ps.w.org\/beep-conditional-payments\/assets\/screenshot-3.png?rev=3516223","caption":"Pro upgrade modal with feature list when selecting locked conditions."},{"src":"https:\/\/ps.w.org\/beep-conditional-payments\/assets\/screenshot-4.png?rev=3516223","caption":"Tools section \u2013 export\/import rulesets."}],"raw_content":"<!--section=description-->\n<p>WooCommerce shows every enabled payment gateway to every customer \u2014 unless you tell it otherwise. <strong>Beep Conditional Payments<\/strong> gives store owners a visual rule builder to show, hide, or reorder gateways at checkout based on what is actually in the cart, who is buying, and where they are shipping.<\/p>\n\n<p>Set up rules in minutes from the WordPress admin. Match products, categories, cart totals, coupons, shipping methods, user roles, and billing or shipping details. Rulesets support AND\/OR logic, can be exported and imported, and run on both classic and block checkout.<\/p>\n\n<p>Need more? <strong>Beep Conditional Payments Pro<\/strong> unlocks gateway fees, deeper product and customer conditions, date and GeoIP rules, subscription support, and priority updates.<\/p>\n\n<h3>Use cases<\/h3>\n\n<p><strong>Wholesale vs retail checkout<\/strong> \u2014 Show bank transfer and invoice options only to wholesale user roles, while retail customers see card and PayPal.<\/p>\n\n<p><strong>High-value and local orders<\/strong> \u2014 Hide cash on delivery for carts under a set amount, or limit COD to customers in specific shipping zones.<\/p>\n\n<p><strong>Digital and physical mix<\/strong> \u2014 Disable gateways that do not fit the cart, such as hiding bank transfer when the order contains only downloadable products, or adding a small processing fee for a specific payment method (Pro).<\/p>\n\n<h3>Features<\/h3>\n\n<p><strong>Free<\/strong><\/p>\n\n<ul>\n<li>Enable or disable payment gateways with unlimited rulesets (AND\/OR logic)  <\/li>\n<li>Conditions: products, variations, categories, tags, cart total, subtotal, min\/max, item count, billing and shipping fields, shipping method, coupons, logged-in\/guest, user roles  <\/li>\n<li>Export, import, duplicate, and delete rulesets  <\/li>\n<li>Classic and block checkout support  <\/li>\n<\/ul>\n\n<p><strong>Pro<\/strong><\/p>\n\n<ul>\n<li>Payment method fees at checkout  <\/li>\n<li>Product attributes, SKU, stock, brands, and product meta  <\/li>\n<li>Advanced quantity, cart weight, and cart composition rules  <\/li>\n<li>Customer purchase history and order-count conditions  <\/li>\n<li>Date, time, and holiday scheduling  <\/li>\n<li>GeoIP and advanced location rules  <\/li>\n<li>Shipping zones, shipping cost, and subscription-aware rules  <\/li>\n<li>Multi-currency and WPML \/ Polylang support  <\/li>\n<li>Custom meta and developer extension hooks  <\/li>\n<li>Priority support and updates  <\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/beepcoder.com\/beep-conditional-payments\/\">Upgrade to Pro<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/beep-conditional-payments\/<\/code>, or install via WordPress <strong>Plugins \u2192 Add New<\/strong>.  <\/li>\n<li>Activate the plugin.  <\/li>\n<li>Go to <strong>WooCommerce \u2192 Settings \u2192 Payments<\/strong>, then open the <strong>Conditions<\/strong> section.  <\/li>\n<li>Click <strong>Add Ruleset<\/strong> to create your first rule.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20do%20i%20find%20the%20settings%3F\"><h3>Where do I find the settings?<\/h3><\/dt>\n<dd><p>Go to <strong>WooCommerce \u2192 Settings \u2192 Payments<\/strong> and choose <strong>Conditions<\/strong> (next to General).<\/p><\/dd>\n<dt id=\"can%20i%20export%2Fimport%20my%20rules%3F\"><h3>Can I export\/import my rules?<\/h3><\/dt>\n<dd><p>Yes. Use the <strong>Tools<\/strong> section to download or import JSON rules.<\/p><\/dd>\n<dt id=\"will%20this%20work%20with%20third-party%20gateways%3F\"><h3>Will this work with third-party gateways?<\/h3><\/dt>\n<dd><p>Yes, it works with all WooCommerce payment gateways.<\/p><\/dd>\n<dt id=\"is%20this%20plugin%20compatible%20with%20wordpress%207.0%3F\"><h3>Is this plugin compatible with WordPress 7.0?<\/h3><\/dt>\n<dd><p>Yes. Version 1.0.4 is tested with WordPress 7.0 and PHP 8.0+. It uses current WordPress and WooCommerce APIs and does not rely on deprecated core functions removed in WordPress 7.0.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20woocommerce%20block%20checkout%3F\"><h3>Does it work with WooCommerce block checkout?<\/h3><\/dt>\n<dd><p>Yes. The free build filters payment gateways on both classic and block checkout. Block checkout also syncs the selected payment method to the server for rules that depend on the chosen gateway.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Fix: restore block checkout script (<code>beep-block-checkout.js<\/code>) so payment method changes sync via Store API on WooCommerce Blocks checkout.<\/li>\n<li>Fix: role condition AJAX search on saved rulesets (correct <code>beep_woocommerce_json_search_roles<\/code> action).<\/li>\n<li>Fix: restore missing Pro upgrade modal partial (<code>beep-cp-pro-upgrade-modal.php<\/code>) on add\/edit ruleset screens.<\/li>\n<li>Fix: prevent PHP 8 warning when rendering new condition rows with empty product\/value fields.<\/li>\n<li>Improvement: Pro upgrade modal right column now lists Pro features (fees, attributes, quantity rules, order history, scheduling, GeoIP, shipping zones, subscriptions, multi-currency\/language, custom meta).<\/li>\n<li>Improvement: Pro upgrade and \u201cGo Pro\u201d links point to <a href=\"https:\/\/beepcoder.com\/beep-conditional-payments\/\">beepcoder.com\/beep-conditional-payments<\/a>.<\/li>\n<li>New filter: <code>beep_cp_pro_upgrade_modal_features<\/code> to customize the Pro feature list in the upgrade modal.<\/li>\n<li>Tested up to WordPress 7.0.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Pro upgrade modal: right column now shows plugin branding (bundled icon; you can replace it with <code>admin\/images\/icon-256x256.png<\/code> or filter <code>beep_cp_pro_upgrade_modal_icon_url<\/code>).<\/li>\n<li>Readme and metadata aligned for WordPress.org (tested up to, Requires PHP, plugin name).<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Moved settings to <strong>WooCommerce \u2192 Settings \u2192 Payments \u2192 Conditions<\/strong> (with redirect from the old standalone tab URL).<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Code improvements: added sanitization\/escaping for all inputs\/outputs.  <\/li>\n<li>Updated AJAX handlers with nonce and input validation.  <\/li>\n<li>Ensured WordPress.org coding standards compliance.  <\/li>\n<li>Improved security and stability.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.  <\/li>\n<li>Add rulesets with conditions and actions.  <\/li>\n<li>Enable\/disable WooCommerce payment methods.  <\/li>\n<li>Export &amp; Import rulesets.  <\/li>\n<li>Duplicate and delete rules.<\/li>\n<\/ul>","raw_excerpt":"Control WooCommerce payment methods with flexible rules. Enable, disable, or add fees based on order, products, or customers.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/253495","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=253495"}],"author":[{"embeddable":true,"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/beepcoder"}],"wp:attachment":[{"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=253495"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=253495"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=253495"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=253495"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=253495"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bcc.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=253495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}