Does anyone have a list of Payment Method codes that I could use? There are questions out there saying to use Dependency Injection to discover the codes however, my module does not use Frontend or Backend so I can't view PHP echo's. As far as i'm aware there are no payment methods on the server additional to the original payment methods.
So far I have found "checkmo"
as the Check / Money Order payment method and "purchaseorder"
but I can't find anything else. I am mainly after the Bank Transfer payment code.
Best Answer
Here is the list of all default payment method codes. (Generally all are inactive)
If you want to get list and information of all available payment methods on magento programatically you can use below mention code and you will get all payment method information.
You need to create a php file in your magento root example
Magento_Root/listpaymentmethods.php
and add below mention code and run that php script by your urlhttp://www.yourstore.com/listpaymentmethods.php