Web Analytics

Fill the form & Get Installation Support

Magento2 Disable Payment Method Programmatically

  1. Create events.xml at app/code/Magemonkeys/DisablePayment/etc/ 
  2.  Create PaymentMethodAvailable.php at app/code/Magemonkeys/DisablePayment/Observer/ with the following code
Fill the below form if you have any Magento programming need.

    Recent Articles

    Author Info

    Author Image

    Magento Certified Developer

    Hire J. Lakum

    Get a Free Quote

      /* second popup */

      Connect With Us