DEMO Buy Now

Payment Method Restriction Plugin for WooCommerce

Sometimes we need to restrict some of the payment methods to provide the seamless and easy checkout process to customers.

With the help of Payment Method Restriction Plugin, the admin can restrict payment methods which 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 will be displayed at the frontend.

Support

Dear Customers, if you have a question/query, please raise a ticket at webkul.uvdesk.com. We will do our best to answer as quickly as possible.

Don’t give us a low rate without contacting support on the issue you’ve faced with. We are always happy to help you.

Features

  • The admin can enable/ disable the module.
  • Payment methods can be restricted based on cart rules, products, and categories.
  • The admin can select 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 –

  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 will be displayed at checkout.

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.

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.

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.

After browsing the file, click the “Install Now” button to install the plugin as per the snapshot.

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.

Module Configuration

After successful installation, the admin can configure the payment method restriction plugin by navigating through “Payment Restriction> Configuration”. 

Status – The admin can enable or disable the module.

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

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

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

Cart Rules – Allowed Payment Methods

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

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

New cart rule can be added by clicking on “ Add Rule” button.

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

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 product ” then the admin can add a new product by clicking ” Add New” or edit the product by clicking “Edit” option as shown below image – 

On the “Add new product” page, the admin can select allowed payment methods from the available payment methods list under ” Payment Methods” option and publish it as shown below image – 

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 – 

Add New Category  –

Here, the admin just needs to enter the category details, select the allowed payment methods and click on ” Add new category ” button as shown below image –

Edit the Category – 

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

Note – In 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 restriction 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 – 

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 – 

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 – 

Note

1. If a product belongs to two different categories and both the 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

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.

Then only common payment methods will be displayed at checkout page – 

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 and some different Payment methods.

Then only common payment methods will be displayed at the checkout page – 

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

Then it will not be displayed any payment method –

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

If the cart is having two product from different categories and categories are having no common payment method.

Then it will not be displayed any 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.

Then only common payment methods will be displayed at the checkout page – 

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.

Then it will not be displayed any payment method – 

Responsive

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

That’s all for the Payment Method Restriction Plugin for WooCommerce, still, have any issue feel free to add a ticket and let us know your views to make the plugin better at webkul.uvdesk.com

Current Product Version - 1.0.0

Supported Framework Version - 3.0.x, 3.1.x, 3.2.x, 3.3.x, 3.4.x,3.5.x

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close

Index