コード例 #1
0
 /**
  * Get the error occurred
  * (non-PHPdoc)
  * @see SofortLib::getError()
  */
 public function getError($paymentMethod = 'all', $message = '')
 {
     return parent::getError($paymentMethod, $message);
 }
コード例 #2
0
 public function getRefundError($i = 0)
 {
     return parent::getError('all', $this->_response[$i]);
 }
コード例 #3
0
 function getStatusArray()
 {
     $ret = array();
     foreach ($this->response as $transaction) {
         if ($transaction['status'] == 'ok') {
             $ret[$transaction['transaction']] = 'ok';
         } else {
             $ret[$transaction['transaction']] = parent::getError($transaction);
         }
     }
     return $ret;
 }