Class

eZPaymentCallbackChecker

class eZPaymentCallbackChecker

Properties

$logger
$ini
$callbackData
$paymentObject
$order

Methods

__construct(string $iniFile)

Constructor

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 25
public __construct(string $iniFile)

Constructor

Parameters

string $iniFile

at line 34
public createDataFromPOST()

at line 51
public createDataFromGET()

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

Parameters

$server
$port
$serverMethod
$request
$timeout

at line 108
public requestValidation()

at line 117
public setupOrderAndPaymentObject($orderID)

Parameters

$orderID

at line 142
public approvePayment($continueWorkflow = true)

Parameters

$continueWorkflow

at line 161
public continueWorkflow()

at line 182
public getFieldValue($field)

Parameters

$field

at line 197
public checkServerIP()

at line 223
public checkAmount($amount)

Parameters

$amount

at line 243
public checkCurrency($currency)

Parameters

$currency

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

Parameters

$field
$value

at line 286
public buildRequestString()

at line 295
public handleResponse($socket)

Parameters

$socket