I create a custom payment method, all is working except the title in the checkout.
In the admin, I can see it, all looks good, I can change all and they persist in the database.
I can see the radio button in the checkout (without the title)
I can get in the observer the method by code.
The only part I can't get is the Title, and I don't know if exist some way to get it by their code.
Any idea?
UPDATE
Ok, I tried something and work, but I want to know if my deduction is correct:
protected $_code = 'payment_custom'; //doesn't work with the underscore
protected $_code = 'paymentcustom'; // work
I'm still testing if the code name must be the same as the module_name
makes sense to you?