I'm working on implementing a new payment methods for an e-commerce system (in the context of Magento). However, I don't fully understand what differentiate a gateway and non-gateway payment methods.
In magento, every payment method will have to inherit Mage_Payment_Model_Method_Abstract
. And that class has a variable called $_isGateway
. The only cases where this variable is true
is only for Mage_Paypal_Model_Direct
and Mage_Paypal_Model_Payflowpro
.
The way I understand a gateway is any payment via 3rd party and payment is not transfered directly to the merchant, is it correct? How do I know if my payment methods is a gateway or non-gateway? (or in the context of Magento)
Update Possible Answer
It seems that $_isGateway
in Magento does nothing. Here's the search in the source code