Example #1
0
 /**
  * Return data for Centinel validation
  *
  * @return Varien_Object
  */
 public function getCentinelValidationData()
 {
     $info = $this->getInfoInstance();
     $params = new Varien_Object();
     $params->setPaymentMethodCode($this->getCode())->setCardType($info->getCcType())->setCardNumber($info->getCcNumber())->setCardExpMonth($info->getCcExpMonth())->setCardExpYear($info->getCcExpYear())->setAmount($this->_getAmount())->setCurrencyCode($this->_getCurrencyCode())->setOrderNumber($this->_getOrderId());
     return $params;
 }