25 @require_once
'HTTP/Request.php';
26 require_once dirname(__FILE__).
'/esec_processor.inc';
43 var $_url =
"https://sec.aba.net.au/cgi-bin/service/authint";
48 parent::Esec_Processor();
50 $this->
set(
'EPS_REDIRECT',
'false');
68 $this->response[
'message'] =
'0000 Transaction not successful. Unable get response from the service';
69 log_write($this->response[
'message'].
'. CURL error #'.$errno , SQ_CONF_LOG_FILE_ERROR);
85 $lines = explode(
"\n", $response);
86 foreach ($lines as $line) {
87 list($name, $value) = explode(
"=", $line);
88 $this->response[$name] = $value;
92 if (substr($this->response[
'message'], 0, 3) ==
'200') {
112 foreach ($this->parameters as $name => $value) {
113 $post_params .=
'&'.$name.
'='.$value;
118 'POSTFIELDS' => $post_params,
119 'RETURNTRANSFER' => 1,
120 'SSL_VERIFYPEER' => 1,
121 'SSL_VERIFYHOST' => 2,
123 $details = fetch_url($this->_url, $options);
124 $response = $details[
'response'];
125 $errno = $details[
'errornumber'];