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.
Watch the video to understand the extension workflow:-
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 –
- This module does not create any new payment method, you can restrict only existing payment methods.
- If the product does not have any payment method restriction then all active payment methods are displayed at checkout.
- 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.
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 Webkul WC addons it will show “Payment Restriction addon”.
Now click on the settings button.
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.
If you require expert assistance or want to develop custom unique functionality, hire WooCommerce Developers for your project.
Payment Restrictions
The admin can create many cart rules based on total cart price to restrict the payment methods –
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.
After choosing the methods enable the rule status.
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 –
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 –
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 the ” 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 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 –
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 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.
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 as well as some different Payment methods.
You can also check our complete WooCommerce plugin list.
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 –
However, 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 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.
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!
Looking to implement payment method restrictions in your WooCommerce store? Check out our WooCommerce Payment Method Development services to learn how we can help.
Current Product Version - WooCommerce Payment Restriction: 1.1.0
Supported Framework Version - WordPress - 6.4.2 Woocommerce - 8.4.0
Be the first to comment.