3

I want to hide all the disabled Payment Methods (Ex:Bank Transfer,Purchase Order,Authorize.net etc) in Stores → Configuration → Sales → Payment Methods.

5
  • if you hide it then there's no way you can re-enable it.
    – fmsthird
    Jun 26, 2019 at 10:26
  • Sure.There is no need to re-enable it.
    – Viji
    Jun 26, 2019 at 10:28
  • I think you are referring to offline payments , if so, you can simply disable it
    – fmsthird
    Jun 26, 2019 at 10:36
  • Yes.But i want to disable amazon and Paypal module too
    – Viji
    Jun 26, 2019 at 10:54
  • using module disable command you can actually disable which module you want to remove. for paypal you can disable it with its name Magento_Paypal and so on
    – fmsthird
    Jun 26, 2019 at 11:00

2 Answers 2

2

If I have understood it right, you want to disable Offline Payment Methods.
You can simply disable it or uninstall it through CLI, try below commands:

php bin/magento module:disable Magento_OfflinePayments
php bin/magento setup:di:compile
php bin/magento cache"flush
2

For Authorize.net you can simply disable Magento_Authorizenet module or its dependent modules but if you disabled Magento_OfflinePayments (it will disable all payment method like check-money order also). So Before disabling this make sure all offline payment methods are disabled.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.