AbstractNotificationListener
in package
Table of Contents
- $gatewayId : string
- $input : array<string|int, mixed>
- $isSandbox : bool
- $payment : Payment
- $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
- validate() : bool
Properties
$gatewayId
protected
string
$gatewayId
= ''
$input
protected
array<string|int, mixed>
$input
$isSandbox
protected
bool
$isSandbox
= false
$payment
protected
Payment
$payment
$urlKey
protected
string
$urlKey
= 'mphb-listener'
$urlValue
protected
string
$urlValue
= ''
Methods
__construct()
public
__construct([array<string|int, mixed> $atts = array() ]) : mixed
Parameters
- $atts : array<string|int, mixed> = array()
Return values
mixed —checkRequest()
public
checkRequest() : mixed
Tags
Return values
mixed —fireExit()
public
fireExit(bool $succeed) : mixed
Parameters
- $succeed : bool
Tags
Return values
mixed —getNotifyUrl()
public
getNotifyUrl() : string
Return values
string —initUrlIdentificationValue()
protected
abstract initUrlIdentificationValue() : string
Return values
string —parseInput()
protected
parseInput() : array<string|int, mixed>
Return values
array<string|int, mixed> —paymentCompleted()
protected
abstract paymentCompleted(mixed $log) : mixed
Parameters
- $log : mixed
Return values
mixed —paymentFailed()
protected
abstract paymentFailed(mixed $log) : mixed
Parameters
- $log : mixed
Return values
mixed —paymentOnHold()
protected
abstract paymentOnHold(mixed $log) : mixed
Parameters
- $log : mixed
Return values
mixed —paymentRefunded()
protected
abstract paymentRefunded(mixed $log) : mixed
Parameters
- $log : mixed
Return values
mixed —process()
protected
abstract process() : mixed
Return values
mixed —retrievePayment()
protected
abstract retrievePayment() : Payment
Return values
Payment —validate()
protected
abstract validate(array<string|int, mixed> $input) : bool
Parameters
- $input : array<string|int, mixed>