{"id":289267,"date":"2026-05-10T20:26:32","date_gmt":"2026-05-10T20:26:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/smart-payment-gateway-control\/"},"modified":"2026-05-12T00:35:17","modified_gmt":"2026-05-12T00:35:17","slug":"smart-payment-gateway-control-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/is.wordpress.org\/plugins\/smart-payment-gateway-control-for-woocommerce\/","author":23464527,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.1","stable_tag":"2.1.1","tested":"6.9.4","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Smart Payment Gateway Control for WooCommerce","header_author":"Fahad Khalid","header_description":"Conditionally disable WooCommerce payment methods based on product, category, cart total, user role, shipping method, country, or order quantity.","assets_banners_color":"134c62","last_updated":"2026-05-12 00:35:17","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/fahadkhalid211\/Smart-Payment-Gateway-Control","header_author_uri":"https:\/\/linktr.ee\/fahadkhalid211","rating":5,"author_block_rating":0,"active_installs":0,"downloads":129,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0.0":{"tag":"2.0.0","author":"fahadkhalid211","date":"2026-05-10 22:22:56"},"2.0.1":{"tag":"2.0.1","author":"fahadkhalid211","date":"2026-05-10 23:13:20"},"2.1.0":{"tag":"2.1.0","author":"fahadkhalid211","date":"2026-05-11 22:03:59"},"2.1.1":{"tag":"2.1.1","author":"fahadkhalid211","date":"2026-05-12 00:35:17"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3528054,"resolution":"256x256","location":"assets","locale":"","width":250,"height":250}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3528055,"resolution":"772x250","location":"assets","locale":"","width":2202,"height":714}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.0","2.0.1","2.1.0","2.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3529296,"resolution":"1","location":"assets","locale":"","width":1581,"height":804},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3529296,"resolution":"2","location":"assets","locale":"","width":1051,"height":463},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3529296,"resolution":"3","location":"assets","locale":"","width":1033,"height":619},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3529296,"resolution":"4","location":"assets","locale":"","width":1020,"height":682},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3529296,"resolution":"5","location":"assets","locale":"","width":1426,"height":759}},"screenshots":{"1":"Access Payment Rules from the WooCommerce submenu in your WordPress admin sidebar.","2":"The main Payment Rules dashboard where you create and manage your IF \u2192 THEN conditions.","3":"Choose from 7 condition types \u2014 select Product Category, Cart Total, User Role, or any other option from the dropdown.","4":"Set your conditions and pick which payment gateway to disable when those conditions are met.","5":"After configuring your rules, click \"Save Rules\" \u2014 a success message confirms everything is working."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3148,4060,6593,131954,286],"plugin_category":[45],"plugin_contributors":[262512],"plugin_business_model":[],"class_list":["post-289267","plugin","type-plugin","status-publish","hentry","plugin_tags-checkout","plugin_tags-conditional","plugin_tags-payment-gateway","plugin_tags-payment-methods","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-fahadkhalid211","plugin_committers-fahadkhalid211"],"banners":{"banner":"https:\/\/ps.w.org\/smart-payment-gateway-control-for-woocommerce\/assets\/banner-772x250.png?rev=3528055","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/smart-payment-gateway-control-for-woocommerce\/assets\/icon-256x256.png?rev=3528054","icon_2x":"https:\/\/ps.w.org\/smart-payment-gateway-control-for-woocommerce\/assets\/icon-256x256.png?rev=3528054","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/smart-payment-gateway-control-for-woocommerce\/assets\/screenshot-1.png?rev=3529296","caption":"Access Payment Rules from the WooCommerce submenu in your WordPress admin sidebar."},{"src":"https:\/\/ps.w.org\/smart-payment-gateway-control-for-woocommerce\/assets\/screenshot-2.png?rev=3529296","caption":"The main Payment Rules dashboard where you create and manage your IF \u2192 THEN conditions."},{"src":"https:\/\/ps.w.org\/smart-payment-gateway-control-for-woocommerce\/assets\/screenshot-3.png?rev=3529296","caption":"Choose from 7 condition types \u2014 select Product Category, Cart Total, User Role, or any other option from the dropdown."},{"src":"https:\/\/ps.w.org\/smart-payment-gateway-control-for-woocommerce\/assets\/screenshot-4.png?rev=3529296","caption":"Set your conditions and pick which payment gateway to disable when those conditions are met."},{"src":"https:\/\/ps.w.org\/smart-payment-gateway-control-for-woocommerce\/assets\/screenshot-5.png?rev=3529296","caption":"After configuring your rules, click \"Save Rules\" \u2014 a success message confirms everything is working."}],"raw_content":"<!--section=description-->\n<p><strong>Smart Payment Gateway Control for WooCommerce<\/strong> gives you complete control over which payment methods appear at your checkout. Build flexible IF \u2192 THEN rules to automatically show or hide gateways based on what's in your customer's cart.<\/p>\n\n<h4>Why You Need Smart Payment Control<\/h4>\n\n<p>By default, WooCommerce displays all enabled payment gateways to every customer. This creates a cluttered checkout and can lead to confusion, abandoned carts, or payment methods being used in ways you never intended. Smart Payment Gateway Control solves this by letting you set precise conditions for when each gateway should appear.<\/p>\n\n<h4>How It Works<\/h4>\n\n<ol>\n<li>Go to <strong>WooCommerce \u2192 Payment Rules<\/strong> in your WordPress admin.<\/li>\n<li>Click <strong>Add Rule<\/strong> and choose a condition type.<\/li>\n<li>Select the payment gateway you want to disable when that condition is met.<\/li>\n<li>Hit <strong>Save Rules<\/strong> \u2014 that's it.<\/li>\n<\/ol>\n\n<p>Rules are evaluated in order, giving you full control over your checkout flow without writing a single line of code.<\/p>\n\n<h4>Available Condition Types<\/h4>\n\n<ul>\n<li><strong>Product Category<\/strong> \u2014 Hide gateways when the cart contains products from specific categories. Parent categories automatically include all child categories, saving you setup time.<\/li>\n<li><strong>Specific Product<\/strong> \u2014 Target individual products or product variations with precision.<\/li>\n<li><strong>Cart Total<\/strong> \u2014 Disable payment methods when the order amount is above, below, or equal to a custom threshold. Perfect for offering free orders a specific gateway or blocking high-risk payment options on large purchases.<\/li>\n<li><strong>User Role<\/strong> \u2014 Show different payment options to wholesale customers, retail customers, subscribers, or guests. Create a personalized checkout for every user type.<\/li>\n<li><strong>Shipping Method<\/strong> \u2014 Adjust available payment methods based on the customer's chosen delivery option. For example, enable cash on delivery only for local pickup.<\/li>\n<li><strong>Billing Country<\/strong> \u2014 Restrict or allow payment gateways based on the customer's billing country. Essential for international stores managing region-specific payment processors.<\/li>\n<li><strong>Order Quantity<\/strong> \u2014 Trigger rules based on the total number of items in the cart. Offer bulk purchase gateways or limit certain payment types for single-item orders.<\/li>\n<\/ul>\n\n<h4>Operators You Can Use<\/h4>\n\n<ul>\n<li><strong>is<\/strong> \/ <strong>is not<\/strong> \u2014 Simple matching for categories, products, roles, countries, and shipping methods.<\/li>\n<li><strong>Greater than ( &gt; )<\/strong> \/ <strong>Greater than or equal ( &gt;= )<\/strong> \u2014 Perfect for cart totals and quantities.<\/li>\n<li><strong>Less than ( &lt; )<\/strong> \/ <strong>Less than or equal ( &lt;= )<\/strong> \u2014 Set upper limits for payment methods.<\/li>\n<\/ul>\n\n<h4>Combine Multiple Conditions<\/h4>\n\n<p>Need more complex logic? Add AND conditions within a single rule. For example: \"If the cart contains a product from the 'Digital Downloads' category <strong>AND<\/strong> the customer is a guest, then hide Bank Transfer.\" Multiple conditions must all be true for the rule to apply.<\/p>\n\n<h4>Real-World Use Cases<\/h4>\n\n<ul>\n<li>Enable Cash on Delivery only for physical products, not digital downloads.<\/li>\n<li>Restrict PayPal to orders under $500 to reduce fee exposure.<\/li>\n<li>Show Bank Transfer exclusively to wholesale customers.<\/li>\n<li>Limit Stripe to customers in the United States and Canada.<\/li>\n<li>Hide expensive payment gateways on small one-item orders.<\/li>\n<\/ul>\n\n<h4>Works With Any Payment Gateway<\/h4>\n\n<p>Smart Payment Gateway Control integrates with every payment gateway registered in WooCommerce \u2014 including Stripe, PayPal, Cash on Delivery, BACS Bank Transfer, and any custom or third-party gateway. No gateway-specific configuration is needed.<\/p>\n\n<h4>Lightweight &amp; Performance-Friendly<\/h4>\n\n<p>The plugin only runs its logic during checkout, so there is zero impact on your site's front-end performance or page speed. The admin interface uses the native WordPress and WooCommerce styling you're already familiar with.<\/p>\n\n<h4>HPOS Compatible<\/h4>\n\n<p>Full compatibility with WooCommerce High-Performance Order Storage (HPOS) is declared, ensuring smooth operation on modern WooCommerce installations.<\/p>\n\n<h4>Support<\/h4>\n\n<p>Having trouble? Visit the <a href=\"https:\/\/wordpress.org\/support\/plugin\/smart-payment-gateway-control-for-woocommerce\/\">support forum<\/a> and we'll help you out. Found this plugin useful? Please leave a <a href=\"https:\/\/wordpress.org\/support\/plugin\/smart-payment-gateway-control-for-woocommerce\/reviews\/#new-post\">5-star review<\/a> \u2014 it helps others discover Smart Payment Gateway Control and keeps development active.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin through the Plugins menu in WordPress.<\/li>\n<li>Go to WooCommerce \u2192 Payment Rules to create your first rule.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20work%20with%20hpos%20%28high-performance%20order%20storage%29%3F\"><h3>Does this work with HPOS (High-Performance Order Storage)?<\/h3><\/dt>\n<dd><p>Yes, the plugin declares full compatibility with WooCommerce HPOS.<\/p><\/dd>\n<dt id=\"which%20woocommerce%20versions%20are%20supported%3F\"><h3>Which WooCommerce versions are supported?<\/h3><\/dt>\n<dd><p>WooCommerce 6.0 and above.<\/p><\/dd>\n<dt id=\"can%20i%20have%20multiple%20rules%3F\"><h3>Can I have multiple rules?<\/h3><\/dt>\n<dd><p>Yes. You can add 3 rules in the free version and unlimited rules in the Pro version.<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20custom%20or%20third-party%20gateways%3F\"><h3>Does this work with custom or third-party gateways?<\/h3><\/dt>\n<dd><p>Yes. Any payment gateway registered with WooCommerce is automatically available in the dropdown.<\/p><\/dd>\n<dt id=\"do%20parent-category%20rules%20apply%20to%20sub-categories%3F\"><h3>Do parent-category rules apply to sub-categories?<\/h3><\/dt>\n<dd><p>Yes. Rules set on a parent category automatically trigger for products in its child categories.<\/p><\/dd>\n<dt id=\"is%20there%20a%20pro%20version%20available%3F\"><h3>Is there a Pro version available?<\/h3><\/dt>\n<dd><p>Yes. The Pro version unlocks all 7 condition types, unlimited rules, and priority support.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Bug fixes and stability improvements<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Added premium features via Freemius integration<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>CSS improvements and better UI<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Complete rewrite with new rule-based UI<\/li>\n<li>Added support for 7 condition types<\/li>\n<li>Added support for AND-condition groups per rule<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Conditionally hide WooCommerce payment methods at checkout using flexible IF \u2192 THEN rules based on product, cart, user, country, and more.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/289267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=289267"}],"author":[{"embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fahadkhalid211"}],"wp:attachment":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=289267"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=289267"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=289267"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=289267"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=289267"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=289267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}