{"id":147163,"date":"2021-09-26T05:14:04","date_gmt":"2021-09-26T05:14:04","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/restrict-payment-methods-for-woocommerce\/"},"modified":"2026-03-02T14:31:36","modified_gmt":"2026-03-02T14:31:36","slug":"restrict-payment-methods-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/restrict-payment-methods-for-woocommerce\/","author":16973082,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Restrict Payment Methods For WooCommerce","header_author":"Gravity Master","header_description":"GM WooCommerce Restrict Payment Methods its restrict payment many condition","assets_banners_color":"c0d3d6","last_updated":"2026-03-02 14:31:36","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":100,"downloads":1883,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>Initial release.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3472834,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3472834,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3472834,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3472834,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2775634,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Payment restriction rules settings panel","2":"Example conditional rule setup","3":"Checkout page showing restricted payment gateways"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3148,4060,507,22939,286],"plugin_category":[45],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-147163","plugin","type-plugin","status-publish","hentry","plugin_tags-checkout","plugin_tags-conditional","plugin_tags-payment","plugin_tags-restrictions","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_committers-gravitymaster97"],"banners":{"banner":"https:\/\/ps.w.org\/restrict-payment-methods-for-woocommerce\/assets\/banner-772x250.png?rev=3472834","banner_2x":"https:\/\/ps.w.org\/restrict-payment-methods-for-woocommerce\/assets\/banner-1544x500.png?rev=3472834","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/restrict-payment-methods-for-woocommerce\/assets\/icon-128x128.png?rev=3472834","icon_2x":"https:\/\/ps.w.org\/restrict-payment-methods-for-woocommerce\/assets\/icon-256x256.png?rev=3472834","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/restrict-payment-methods-for-woocommerce\/assets\/screenshot-1.png?rev=2775634","caption":"Payment restriction rules settings panel"}],"raw_content":"<!--section=description-->\n<p>Restrict Payment Methods For WooCommerce lets you dynamically control which payment gateways appear at checkout.<\/p>\n\n<p>Create smart conditional rules and show or hide payment methods based on cart contents, customer details, shipping options, date conditions, and more.<\/p>\n\n<p>Perfect for improving checkout experience, preventing invalid orders, and applying business-specific payment logic.<\/p>\n\n<p>\ud83d\udd17 <a href=\"https:\/\/www.codesmade.com\/restrict-payment-methods-for-woocommerce-documentation\/\">Documentation<\/a> | <a href=\"https:\/\/www.codesmade.com\/store\/restrict-payment-methods-for-woocommerce\/\">Upgrade to Pro<\/a> | <a href=\"https:\/\/www.codesmade.com\/contact-us\/\">Support<\/a><\/p>\n\n\n\n\u2b50 FREE FEATURES\n\n<ul>\n<li>Easy installation and setup<\/li>\n<li>Create multiple restriction rules<\/li>\n<li>Enable or disable specific payment gateways<\/li>\n<li>Advanced matching logic (AND\/OR conditions)<\/li>\n<li>User-friendly grouped condition builder<\/li>\n<\/ul>\n\n<h3>Available Conditions (Free Version)<\/h3>\n\n<p>\u2714 Cart subtotal<br \/>\n\u2714 Cart quantity<br \/>\n\u2714 Specific products<br \/>\n\u2714 User login status (logged in \/ guest)<br \/>\n\u2714 User roles<br \/>\n\u2714 Specific users<br \/>\n\u2714 Shipping method<br \/>\n\u2714 Billing country, state, city<br \/>\n\u2714 Shipping country, state, city<br \/>\n\u2714 Day of week<br \/>\n\u2714 Date range<\/p>\n\n\n\n\ud83d\ude80 PRO FEATURES\n\n<p>Upgrade to the <a href=\"https:\/\/www.codesmade.com\/store\/restrict-payment-methods-for-woocommerce\/\">Pro version<\/a> to unlock advanced payment restriction controls.<\/p>\n\n<h3>Additional Conditions Available in Pro<\/h3>\n\n<p>\u2714 Shipping class (shipping_class)<br \/>\n\u2714 Product type (product_type)<br \/>\n\u2714 Product stock status (stock_status)<br \/>\n\u2714 Billing email (billing_email)<br \/>\n\u2714 Shipping email (shipping_email)<br \/>\n\u2714 Product categories (product_cat)<br \/>\n\u2714 Product tags (product_tag)<br \/>\n\u2714 Product brands (product_brand)<\/p>\n\n<h3>Why Upgrade?<\/h3>\n\n<ul>\n<li>More granular checkout control  <\/li>\n<li>Advanced B2B\/B2C payment logic  <\/li>\n<li>Improved fraud prevention  <\/li>\n<li>Powerful category &amp; brand-based restrictions  <\/li>\n<li>Email-based gateway control  <\/li>\n<\/ul>\n\n<p>\ud83d\udc49 <a href=\"https:\/\/www.codesmade.com\/store\/restrict-payment-methods-for-woocommerce\/\">Get Pro Now<\/a><\/p>\n\n\n\n\ud83d\udca1 Example Use Cases\n\n<ul>\n<li>Show PayPal only if subtotal \u2265 $50  <\/li>\n<li>Hide Cash on Delivery if cart quantity exceeds 10  <\/li>\n<li>Allow Bank Transfer only for logged-in users  <\/li>\n<li>Show Stripe only on Mondays  <\/li>\n<li>Restrict PayPal for specific billing countries  <\/li>\n<li>Hide gateways during specific date ranges  <\/li>\n<li>Apply multiple combined conditions in a single rule  <\/li>\n<\/ul>\n\n\n\n\u2699 How It Works\n\n<ol>\n<li>Install and activate the plugin.<\/li>\n<li>Go to WooCommerce \u2192 Settings \u2192 Payments Restrictions.<\/li>\n<li>Create a rule.<\/li>\n<li>Select payment gateway(s).<\/li>\n<li>Add your conditions.<\/li>\n<li>Save and test checkout.<\/li>\n<\/ol>\n\n<p>That's it! Need help? Check out the <a href=\"https:\/\/www.codesmade.com\/restrict-payment-methods-for-woocommerce-documentation\/\">full documentation<\/a>.<\/p>\n\n\n\n\ud83d\udcda Documentation &amp; Support\n\n<ul>\n<li>\ud83d\udcd6 <a href=\"https:\/\/www.codesmade.com\/restrict-payment-methods-for-woocommerce-documentation\/\">Plugin Documentation<\/a><\/li>\n<li>\ud83d\uded2 <a href=\"https:\/\/www.codesmade.com\/store\/restrict-payment-methods-for-woocommerce\/\">Upgrade to Pro<\/a><\/li>\n<li>\ud83d\udee0 <a href=\"https:\/\/www.codesmade.com\/contact-us\/\">Contact Support<\/a><\/li>\n<\/ul>\n\n\n\nCompatibility\n\n<ul>\n<li>Compatible with latest WooCommerce versions<\/li>\n<li>Works with most WooCommerce-compatible payment gateways<\/li>\n<li>Supports custom gateways following WooCommerce payment API<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/restrict-payment-methods-for-woocommerce\/<\/code> directory, or install via the WordPress plugins screen.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Go to WooCommerce \u2192 Settings \u2192 Payments Restrictions.<\/li>\n<li>Configure your rules.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20work%20with%20all%20payment%20gateways%3F\"><h3>Does this plugin work with all payment gateways?<\/h3><\/dt>\n<dd><p>Yes. It supports all WooCommerce-compatible gateways.<\/p><\/dd>\n<dt id=\"can%20i%20create%20multiple%20restriction%20rules%3F\"><h3>Can I create multiple restriction rules?<\/h3><\/dt>\n<dd><p>Yes. You can create unlimited rules.<\/p><\/dd>\n<dt id=\"will%20it%20work%20with%20custom%20payment%20gateways%3F\"><h3>Will it work with custom payment gateways?<\/h3><\/dt>\n<dd><p>Yes, as long as they follow WooCommerce's payment API standards.<\/p><\/dd>\n<dt id=\"is%20it%20compatible%20with%20woocommerce%20subscriptions%20or%20memberships%3F\"><h3>Is it compatible with WooCommerce Subscriptions or Memberships?<\/h3><\/dt>\n<dd><p>It works with most extensions that follow the standard WooCommerce checkout flow.<\/p><\/dd>\n<dt id=\"where%20can%20i%20find%20the%20documentation%3F\"><h3>Where can I find the documentation?<\/h3><\/dt>\n<dd><p>Full documentation is available at: https:\/\/www.codesmade.com\/restrict-payment-methods-for-woocommerce-documentation\/<\/p><\/dd>\n<dt id=\"how%20do%20i%20get%20support%3F\"><h3>How do I get support?<\/h3><\/dt>\n<dd><p>You can reach our support team at: https:\/\/www.codesmade.com\/contact-us\/<\/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 includes advanced conditions like product categories, tags, brands, email-based rules, and more. Learn more at: https:\/\/www.codesmade.com\/store\/restrict-payment-methods-for-woocommerce\/<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Flexible condition builder<\/li>\n<li>Support for user, product, shipping, and date-based conditions<\/li>\n<\/ul>","raw_excerpt":"Restrict WooCommerce payment gateways based on flexible conditions like totals, products, user roles, shipping methods, and more.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/147163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=147163"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gravitymaster97"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=147163"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=147163"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=147163"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=147163"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=147163"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=147163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}