/** * Get the error occurred * (non-PHPdoc) * @see SofortLib::getError() */ public function getError($paymentMethod = 'all', $message = '') { return parent::getError($paymentMethod, $message); }
public function getRefundError($i = 0) { return parent::getError('all', $this->_response[$i]); }
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; }