I’ve been trying to crate a “payment method” which will only appear at the back end. Why? Sometimes some parcels get lost during shipping, and I need to create new ones, but i don’t want to charge the customer twice (dã).
So, I’ve created a new payment method which will only appear at the backend, and will do nothing, just authorize the order. For that, I’ll need to overload the method getMethods() on Mage_Payment_Block_Form_Container, and take out my new “payment method” from that, adding it later to the adminhtml block.
I’ve got to overload the adminhtml block beautifully, but i can’t do it with the Mage_Payment_Block_Form_Container::getMethods() method. Here’s a snippet from my config.xml: