Magento 2: How to Restrict Payment Methods by Specific Customer?

Magento 2: How to Restrict Payment Methods by Specific Customer?

Magento 2 is an open-source platform having tons of built-in customization options to optimize your online store. If you’re running international business then many time, you need to restrict specific payment methods because payment options vary from country to country. You can set different payment methods for different locations, customers & customer groups.

In order to hide a specific payment from specific customers, you need to have a 3rd party tool to implement payment restrictions for a specific customer. Checkout Magento 2 Payment Restrictions extension by FME which enables you to restrict payment method by specific customers.

Restrict Payment Methods by Specific Customer in Magento 2:

To restrict payment methods by specific customers, you need to create a payment restriction rule.

First of all, download & install the Magento 2 Payment Restrictions Extension.

Now in Admin Panel, click FMEextensions on sidebar > Manage Restrictions Rules > Add New Rule payment-restrictions-magento-2-extension Fill the following mandatory fields:
  • Name – Enter the name of payment restriction Rule
  • Status – Option to Enable/Disable the Rule
  • Payment Methods – Choose the payment method that you want to restrict/hide
  • Store Views – Select the store view(s) where the rule will be applied
  • Priority – Set the rule priority in case you have created multiple restriction rules
  • Apply Operation as AND/OR – Set operation to AND if all conditions fulfill the requirement / Set to OR if any of the condition fulfills the requirements. In our case, this option won’t effect as we’re only applying the rule to a specific customer. You have to specify AND/OR operation only if you have setup multiple conditions in a rule.

Now Click the Customer Group /CustomersTab

Click the Customers dropdown > Select the customer(s) for which you want to restrict a payment method

Save the Rule. restrict-payment-methods-by-customers Checkout this tutorial, if you want to restrict payment method by a specific customer group.

If you face any issue while implementing payment restrictions in your store, then feel free to contact our support team for a quick fix.

Related Articles: