Source for file Bibit.php
Documentation is available at Bibit.php
require_once 'Payment/Process2/Result.php';
* Payment_Process2_Bibit_Result
* @package Payment_Process2
* @author Robin Ericsson <lobbin@localhost.nu>
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
* @version Release: @package_version@
* @link http://pear.php.net/package/Payment_Process2
var $_returnCode = Payment_Process2 ::RESULT_DECLINED;
* @param mixed $rawResponse Raw response
return $this->_errorCode;
return $this->_returnCode;
* @todo Make this better - if its empty, the response code is... ?
$matches = $sxe->xpath ('//reply/error/attribute::code');
$this->_errorCode = (string) $matches[0 ];
$matches = $sxe->xpath ('//reply/error/text()');
$this->message = (string) $matches[0 ];
$orderType = $this->_request->_data ['x_action'];
$matches = $sxe->xpath ('//reply/orderStatus/payment/lastEvent/text()');
$this->_lastEvent = (string) $matches[0 ];
$matches = $doc->evaluate ('//reply/orderStatus/payment/amount/attribute::value');
if ($this->_lastEvent == 'AUTHORISED') {
$matches = $doc->evaluate ('//reply/ok/captureReceived/amount/attribute::value');
$matches = $doc->evaluate ('//reply/ok/refundReceived/amount/attribute::value');
Documentation generated on Mon, 11 Mar 2019 15:40:37 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|