Magento pass extra info to payment gateway -


i trying follow http://excellencemagentoblog.com/magento-create-custom-payment-method-api-based build payment gateway.

everything ok. need pass digital signature payment gateway.

i think should add in class excellence_pay_model_pay assigndata($data)

info = $this->getinfoinstance();         $info->setcctype($data->getcctype())             ->setccowner($data->getccowner())             ->setcclast4(substr($data->getccnumber(), -4))             ->setccnumber($data->getccnumber())             ->setcccid($data->getcccid())             ->setccexpmonth($data->getccexpmonth())             ->setccexpyear($data->getccexpyear())             ->setccssissue($data->getccssissue())             ->setccssstartmonth($data->getccssstartmonth())             ->setccssstartyear($data->getccssstartyear())             ->setccsignature($data->getccsignature()); 

i have added 1 more field : ->setccsignature($data->getccsignature());

but not able retrieve on capture() or callapi() function. empty time. thought ->setssignature use php magic set function, isn't it?

any hint , advise appreciated.

thanks guys!

looks have check if value being set or not using $info->getccsignature(). after value has been set, if being passed on capture() or callapi() function. need follow basic steps of debugging. echo-die, echo-die , on. luck.


Comments

Popular posts from this blog

php - Magento - Deleted Base url key -

javascript - Tooltipster plugin not firing jquery function when button or any click even occur -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -