eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZPaymentCallbackChecker

class eZPaymentCallbackChecker

Properties

$logger
$ini
$callbackData
$paymentObject
$order

Methods

eZPaymentCallbackChecker($iniFile)

createDataFromPOST()

createDataFromGET()

sendPOSTRequest($server, $port, $serverMethod, $request, $timeout = 30)

requestValidation()

setupOrderAndPaymentObject($orderID)

approvePayment($continueWorkflow = true)

continueWorkflow()

getFieldValue($field)

checkServerIP()

checkAmount($amount)

checkCurrency($currency)

checkDataField($field, $value)

buildRequestString()

handleResponse($socket)

Details

at line 23
public eZPaymentCallbackChecker($iniFile)

Parameters

$iniFile

at line 32
public createDataFromPOST()

at line 49
public createDataFromGET()

at line 74
public sendPOSTRequest($server, $port, $serverMethod, $request, $timeout = 30)

Parameters

$server
$port
$serverMethod
$request
$timeout

at line 106
public requestValidation()

at line 115
public setupOrderAndPaymentObject($orderID)

Parameters

$orderID

at line 140
public approvePayment($continueWorkflow = true)

Parameters

$continueWorkflow

at line 159
public continueWorkflow()

at line 180
public getFieldValue($field)

Parameters

$field

at line 195
public checkServerIP()

at line 221
public checkAmount($amount)

Parameters

$amount

at line 241
public checkCurrency($currency)

Parameters

$currency

at line 256
public checkDataField($field, $value)

Parameters

$field
$value

at line 284
public buildRequestString()

at line 293
public handleResponse($socket)

Parameters

$socket