Пример #1
0
 public function getData()
 {
     $data = parent::getData();
     $this->validate('transactionReference');
     $data['PymtType'] = 'cc_settle';
     $data['PreAuthNumber'] = $this->getTransactionReference();
     $data['Signature'] = $this->generateSignature($data);
     return $data;
 }
Пример #2
0
 public function getData()
 {
     $data = parent::getData();
     $data['PymtType'] = 'cc_preauth';
     if (is_null($this->getTransactionReference())) {
         $this->validate('card');
         $data['CardBrand'] = $this->getCard()->getBrand();
         $data['CardNumber'] = $this->getCard()->getNumber();
         $data['ExpiryDate'] = $this->getCard()->getExpiryDate('my');
         if ($this->getCard()->getCvv()) {
             $data['CVV2'] = $this->getCard()->getCvv();
         }
         if ($this->getCard()->getName()) {
             $data['AccountName'] = $this->getCard()->getName();
         }
     } else {
         $data['TemplateNumber'] = $this->getTransactionReference();
     }
     $data['Signature'] = $this->generateSignature($data);
     return $data;
 }
Пример #3
0
 /**
  * function to create data
  * signature is require for authentication
  * at Icici
  * @return [type] [description]
  */
 public function getData()
 {
     $data = parent::getData();
     return $data;
 }
 /**
  * function to create data
  * signature is require for authentication
  * at instamojo
  * @return [type] [description]
  */
 public function getData()
 {
     $data = parent::getData();
     $data['data_sign'] = $this->generateSignature($data);
     return $data;
 }
Пример #5
0
 /**
  * function to create data
  * signature is require for authentication
  * at Citrus
  * @return [type] [description]
  */
 public function getData()
 {
     $data = parent::getData();
     $data['secSignature'] = $this->generateSignature();
     return $data;
 }