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