Back to List

How to Restrict Payment Method in Magento 2?

Posted by Patrick Pierree
4
Oct 23, 2023
87 Views
When creating a payment restriction in Magento 2, first create an events.xml file inside the, etc folder and use a simple code for observing. Now, you can restrict the active payment method as we desire. In this way you can restrict payment with Magento 2 payment restriction.
Comments
avatar
To join the discussion, simply log in with your Google or Facebook account.

How it works:

  1. Click one of the login buttons above
  2. You'll be redirected to the authorization page
  3. After logging in, you'll be returned to the forum
  4. Your guest account will be automatically created if it's your first time

© APSense LTD. All-in-One Business Hub. All Rights Reserved. This forum service is provided by APSense.com