Reading list Switch to dark mode

    Payment Method Restriction Plugin for WooCommerce

    Updated 17 April 2024

    Payment Method Restriction for the WooCommerce extension provides a seamless and easy checkout process to customers.

    With the help of the Payment Method Restriction Plugin, the admin can restrict payment methods that the admin does not want to use for particular cart rules, products, and categories.

    The admin just needs to select specific allowed payment methods for cart rules, products, and categories from the already available payment methods in the website. And, only allowed payment methods display at the front end.

    If you require expert assistance or want to develop custom unique functionality, hire WooCommerce Developers for your project.

    Watch the video to understand the extension workflow:-

    69EJEsZGAys

    Features

    • The admin can enable/ disable the module.
    • Payment methods can be restricted based on cart rules, products, and categories.
    • The admin can select the restriction type – manual/ cart rules.
    • Select allowed payment methods for a particular product.
    • Select allowed payment methods for a particular category.
    • The admin can create new cart rules.
    • Select allowed payment methods for a particular cart rule.
    • Only allowed payment methods will display to customers.
    • Provide hassle free checkout process to customers.

    Note –

    Searching for an experienced
    WordPress Company ?
    Find out More
    1. This module does not create any new payment method, you can restrict only existing payment methods.
    2. If the product does not have any payment method restriction then all active payment methods are displayed at checkout.
    3. This module is now compatible with WooCommerce’s new High-Performance Order Storage (HPOS) feature.

    Installation

    The user will get a zip file which he has to upload in the “Add New” menu option in the WordPress admin panel.

    For this login to WordPress Admin Panel and Under the Dashboard hover your mouse over the “Plugins” menu option which brings out a Sub-Menu and then select the “Add New” option.Woocommerce-payment-method-restriction-installation-add-new

    After this, you will see an option on the top of your page that is “Upload Plugin”, click the option to upload the zip file.Woocommerce-payment-method-restriction-installation-upload-plugin

    On clicking on the “Upload Plugin” option, below that you will see a button “Choose File” click on the button to browse for the zip file as per the snapshot below.woocommerce-payment-method-restriction-installation-choose-file

    After browsing the file, click the “Install Now” button to install the plugin as per the snapshot.webkul-woocommerce-payment-method-restriction-installation

    Now when the plugin is installed correctly, you will see the success message and an option to activate the plugin. Click on “Activate Plugin” to activate the installed plugin.webkul-woocommerce-payment-method-restriction-activate-plugin

    Module Configuration

    After successful installation, the admin can configure the payment method restriction plugin by navigating through Webkul WC addons it will show “Payment Restriction addon”. 

    WC payment restriction

    Now click on the settings button.

    Payment Method Restriction

    Status – The admin can enable or disable the module.

    Restriction Type – Here, the admin will have two restriction types –

    Manual – If the admin selects the manual restriction type then payment methods will be displayed at the front end those are allowed for the products and categories. The cart rules will not work.

    Cart Rules – If the admin selects cart rules then only cart rules will be applicable.

    Payment Restrictions

    The admin can create many cart rules based on total cart price to restrict the payment methods –

    WC payment restriction

    The admin can edit/delete any cart rule or can select more than one cart rule and delete it in the bulk by choosing the delete option from the bulk actions dropdown and applying it.

    A new cart rule can be added by clicking on the “ Add Rule” button.

    Here the admin needs to enter the cart total range ( Like – from 100 to 200), select allowed payment methods, and save it.

    WC payment restriction

    After choosing the methods enable the rule status.

    wpdemo.webkul.com_woocommerce-payment-restriction-Payment Method Restriction

    Restrict Payment Methods for Product/Category

    Allowed Payment Methods for Product –

    The admin can select allowed payment methods for a product then the customer can place an order only through those payment methods.

    The admin can select allowed payment methods from available payment methods on the “Add new product ” or the Edit product page.

    For this, the admin needs to follow these steps “Products>> All products” then the admin can add a new product by clicking ” Add New” or edit the product by clicking the “Edit” option as shown below image – wpdemo.webkul.com_woocommerce-payment-restriction-common_wp-admin_edit.php_post_typeproductwebkul-store

    On the “Add new product” page, the admin can select allowed payment methods from the available payment methods list under the ” Payment Methods” option and publish it as shown below image – wpdemo.webkul.com_woocommerce-payment-restriction-common_wp-admin_post-new.php_post_typeproductwebkul-store

    Allowed Payment Methods for Category – 

    The admin can select payment methods for a Category then the customer can place an order only through those payment methods.

    The admin can select allowed payment methods from available payment methods on the new category page or the edit category page.

    For this, the admin needs to follow these steps “Products>> Categories” then the admin can add a new category by just entering the detail or edit the category by clicking “Edit” option as shown below image – wpdemo.webkul.com_woocommerce-payment-restriction-common_wp-admin_edit-tags.php_taxonomyproduct_catpost_typeproductwebkul-store

    Add New Category  –

    Here, the admin just needs to enter the category details, select the allowed payment methods and click on the ” Add new category ” button as shown below image –wpdemo.webkul.com_woocommerce-payment-restriction-common_wp-admin_edit-tags.php_taxonomyproduct_catpost_typeproductwebkul-store-1

    Edit the Category – 

    Here, the admin needs to select allowed payment methods for this edit category and update it as shown below image – WC-payment-restrictions

    Note – In the manual restriction type, payment methods restriction made on the product has a higher priority than the category. First check the restriction on the product, if the product does not have any restrictions then check the restriction on the product category.

    Customer End

    Payment Methods According to Cart Rule – 

    If the admin select restriction type is “ Cart Rules” under module configuration. Then only cart rules will work.

    As we have created a cart rule (Cart total from 201 to 400 and allowed payment methods – cash on delivery and Paypal).It will display at the front end as shown below image – woocommerce-payment-method-restriction-cart-rule-checkout

    Note – If cart total does not fall under any cart rule range then it will work as a normal checkout process and all available payment methods will be displayed at checkout.

    Allowed Payment Methods for  Product – 

    If the admin select restriction type is “ Manual ” under Module configuration then payment methods will be displayed those are allowed for the products and categories.

    As we have selected ” check payment and Paypal” payment methods for ” Blue Shirt ” at the admin end. These will be displayed at the front end as shown below image – woocommerce-payment-method-restriction-new-product-checkout

    Note – If one product is having payment method restriction and another does not have any restriction then only common payment methods will be displayed at checkout.

    Allowed Payment Methods for the Category – 

    As we have selected ” check payment and cash on delivery” payment methods for ” Summer Shirt ” category at the admin end. These will be displayed at the front end as shown below image – woocommerce-payment-method-restriction-product-category

    woocommerce-payment-method-restriction-new-category-checkout

    Note

    1. If a product belongs to two different categories and both categories are having payment method restriction then only common methods will be displayed at checkout.

    2. If a product belongs to parent and child categories and both the categories are having payment method restriction then also only common methods will be displayed at checkout.

    Different Cases for Restrict Payment Methods: Payment Method Restriction Plugin for WooCommerce

    1. Two or more than two products are having some different and common payment methods – 

    If the cart is having the two products and both are having some different and some common payment methods.

    woocommerce-payment-method-restriction-product-onewoocommerce-payment-method-restriction-product-two

    Then only common payment methods will be displayed at checkout page – woocommerce-payment-method-restriction-products-common-payment-methods

    2. Two or more than two products are having different categories and categories are having some different and common Payment methods –

    If the cart is having the two product from different categories and categories are having some common as well as some different Payment methods.woocommerce-payment-method-restriction-categories-payment-method

    Then only common payment methods will be displayed at the checkout page – woocommerce-payment-method-restriction-category-common-methods

    3. Two or more than two products are having different (no common)payment methods – 

    woocommerce-payment-method-restriction-no-common-product-onewoocommerce-payment-method-restriction-no-common-product-two

    Then it will not be displayed any payment method –woocommerce-payment-method-restriction-products-no-common-payment-method

    4. Two or more than two products from different categories and categories are having different (no common)payment methods – 

    However, if the cart is having two product from different categories and categories are having no common payment method.woocommerce-payment-method-restriction-categories-no-common-method

    Then it will not be displayed any payment method – woocommerce-payment-method-restriction-categories-no-common-payment-method

    5.Two products in the cart one having the payment method restriction on product and another on the category. And, both are having some different and common payment methods.

    woocommerce-payment-method-restriction-product-category-common-method woocommerce-payment-method-restriction-category-product-common-method

    Then only common payment methods will be displayed at the checkout page – woocommerce-payment-method-restriction-product-category-common-payment-method

    6. Two products in the cart one having the payment method restriction on product and another on the category. And, both are having different (no common) payment methods.woocommerce-payment-method-restriction-product-category-no-common-methodwoocommerce-payment-method-restriction-category-product-common-method

    Then it will not be displayed any payment method – woocommerce-payment-method-restriction-product-category-no-common-payment-method

    Responsive: The Payment Method Restriction Plugin for WooCommerce

    The Payment Method Restriction Plugin is responsive for all kinds of screen sizes. It can adjust itself with the Mobile screen, Tablet screen, and Desktop screen.

    WC payment restriction

    That’s all for the Payment Method Restriction Plugin for WooCommerce.

    Support

    For any technical assistance kindly raise a ticket or reach us by email at [email protected]. Thanks for Your Time! Have a Good Day!

    Also, discover various solutions to add more features and enhance your online store by visiting the WooCommerce plugins.

    Current Product Version - WooCommerce Payment Restriction: 1.1.0

    Supported Framework Version - WordPress - 6.4.2 Woocommerce - 8.4.0

    Blog Version - WordPress - 6.4.2 Woocommerce - 8.4.0
    • Version WordPress: 6.0.1 WooCommerce: 6.8.1
    • Version WordPress - 6.4.2 Woocommerce - 8.4.0
    • Version 3.0.x, 3.1.x, 3.2.x, 3.3.x, 3.4.x,3.5.x
    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content