GatewayResponse
in package
Licensed to CiviCRM under the Academic Free License version 3.0 Written & Contributed by Dolphin Software P/L - March 2008
'eWAY_GatewayResponse.php' - Loosley based on the standard supplied eWay sample code 'GatewayResponse.php'
The 'simplexml_load_string' has been removed as it was causing major issues with Drupal V5.7 / CiviCRM 1.9 installtion's Home page. Filling the Home page with "Warning: session_start() [function.session-start]: Node no longer exists in ..." messages
Found web reference indicating 'simplexml_load_string' was a probable cause. As soon as 'simplexml_load_string' was removed the problem fixed itself.
Additionally the '$txStatus' var has been set as a string rather than a boolean. This is because the returned $params['trxn_result_code'] is in fact a string and not a boolean.
Table of Contents
Properties
- $txAmount : mixed
- $txAuthCode : mixed
- $txBeagleScore : mixed
- $txError : mixed
- $txInvoiceReference : mixed
- $txOption1 : mixed
- $txOption2 : mixed
- $txOption3 : mixed
- $txStatus : mixed
- $txTransactionNumber : mixed
Methods
- __construct() : mixed
- Amount() : mixed
- AuthorisationCode() : mixed
- BeagleScore() : mixed
- Error() : mixed
- GetNodeValue() : mixed
- Simple function to use in place of the 'simplexml_load_string' call.
- InvoiceReference() : mixed
- Option1() : mixed
- Option2() : mixed
- Option3() : mixed
- ProcessResponse() : mixed
- Status() : mixed
- TransactionNumber() : mixed
Properties
$txAmount
public
mixed
$txAmount
= 0
$txAuthCode
public
mixed
$txAuthCode
= ""
$txBeagleScore
public
mixed
$txBeagleScore
= ""
$txError
public
mixed
$txError
= ""
$txInvoiceReference
public
mixed
$txInvoiceReference
= ""
$txOption1
public
mixed
$txOption1
= ""
$txOption2
public
mixed
$txOption2
= ""
$txOption3
public
mixed
$txOption3
= ""
$txStatus
public
mixed
$txStatus
= ""
$txTransactionNumber
public
mixed
$txTransactionNumber
= ""
Methods
__construct()
public
__construct() : mixed
Amount()
public
Amount() : mixed
AuthorisationCode()
public
AuthorisationCode() : mixed
BeagleScore()
public
BeagleScore() : mixed
Error()
public
Error() : mixed
GetNodeValue()
Simple function to use in place of the 'simplexml_load_string' call.
public
GetNodeValue(mixed $NodeName, mixed &$strXML) : mixed
It returns the NodeValue for a given NodeName or returns and empty string.
Parameters
- $NodeName : mixed
- $strXML : mixed
InvoiceReference()
public
InvoiceReference() : mixed
Option1()
public
Option1() : mixed
Option2()
public
Option2() : mixed
Option3()
public
Option3() : mixed
ProcessResponse()
public
ProcessResponse(mixed $Xml) : mixed
Parameters
- $Xml : mixed
Status()
public
Status() : mixed
TransactionNumber()
public
TransactionNumber() : mixed