Hi guys,
I am currently developing a payment method and everything is working well. Only one thing: the client enters some information on the payment method and through debugging, I see that it is written to InfoInstance via Mage_Payment_Model_Method_Abstract :: assignData () Unfortunately, I can not read this data when I am in the capture () method - Method. I am extracting InfoInstance and trying to read information, but not installed.
assignData ():
public function assignData($data) { if (!($data instanceof Varien_Object)) { $data = new Varien_Object($data); } $info = $this->getInfoInstance(); $info->setEtixType($data->getEtixType()); return $this; }
capture () method:
public function capture(Varien_Object $payment, $amount) {
Any help is appreciated. I'm sure I missed something ...
Thanks aeno
source share