Пример #1
0
 /**
  * Provides a secure hosted payment form.
  *
  * @return this
  */
 public function getResponse()
 {
     //if it is in live mode
     if ($this->_isLive) {
         $this->_testMode = self::LIVE_URL;
     }
     //Call get fingerprint method
     $fingerprint = $this->_getFingerprint($this->_amount);
     //Call block
     return Eden_Authorizenet_Block_Confirm::i($this->_apiLogin, $fingerprint, $this->_amount, $this->_description, $this->_testMode);
 }
Пример #2
0
 public function getResponse()
 {
     if ($this->_isLive) {
         $this->_testMode = self::LIVE_URL;
     }
     $fingerprint = $this->_getFingerprint($this->_amount);
     return Eden_Authorizenet_Block_Confirm::i($this->_apiLogin, $fingerprint, $this->_amount, $this->_description, $this->_testMode);
 }