WebhookListener extends AbstractNotificationListener
in package

Tags
since
3.6.0

Table of Contents

$endpointSecret  : mixed
$eventObject  : mixed
$eventType  : mixed
$gatewayId  : string
$input  : array<string|int, mixed>
$isCardPIEvent  : mixed
$isSandbox  : bool
$payment  : Payment
$secretKey  : mixed
$urlKey  : string
$urlValue  : string
__construct()  : mixed
checkRequest()  : mixed
fireExit()  : mixed
getNotifyUrl()  : string
initUrlIdentificationValue()  : string
parseInput()  : array<string|int, mixed>
paymentCompleted()  : mixed
paymentFailed()  : mixed
paymentOnHold()  : mixed
paymentRefunded()  : mixed
process()  : mixed
retrievePayment()  : Payment|null
validate()  : bool

Properties

$endpointSecret

protected mixed $endpointSecret = ''

$eventObject

protected mixed $eventObject = null

$eventType

protected mixed $eventType = ''

$gatewayId

protected string $gatewayId = ''

$input

protected array<string|int, mixed> $input

$isCardPIEvent

protected mixed $isCardPIEvent = false

$isSandbox

protected bool $isSandbox = false

$payment

protected Payment $payment

$secretKey

protected mixed $secretKey = ''

$urlKey

protected string $urlKey = 'mphb-listener'

$urlValue

protected string $urlValue = ''

Methods

__construct()

public __construct(mixed $atts) : mixed
Parameters
$atts : mixed
Return values
mixed

checkRequest()

public checkRequest() : mixed
Tags
sinse

3.6.0 all "exit;" was replaced with fireExit().

Return values
mixed

fireExit()

public fireExit(mixed $succeed) : mixed
Parameters
$succeed : mixed
Return values
mixed

getNotifyUrl()

public getNotifyUrl() : string
Return values
string

initUrlIdentificationValue()

protected initUrlIdentificationValue() : string
Return values
string

parseInput()

protected parseInput() : array<string|int, mixed>
Return values
array<string|int, mixed>

paymentCompleted()

protected paymentCompleted(mixed $log) : mixed
Parameters
$log : mixed
Return values
mixed

paymentFailed()

protected paymentFailed(mixed $log) : mixed
Parameters
$log : mixed
Return values
mixed

paymentOnHold()

protected paymentOnHold(mixed $log) : mixed
Parameters
$log : mixed
Return values
mixed

paymentRefunded()

protected paymentRefunded(mixed $log) : mixed
Parameters
$log : mixed
Return values
mixed

process()

protected process() : mixed
Return values
mixed

retrievePayment()

protected retrievePayment() : Payment|null
Return values
Payment|null

validate()

protected validate(mixed $payload) : bool
Parameters
$payload : mixed
Return values
bool

Search results