Class Syspay_Merchant_EMS
Handle EMS (Event Messaging System) callbacks
Methods summary
public
|
#
__construct( array $secrets, boolean $skipAuthCheck = false )
Build an EMS handler
Parameters
- $secrets
- An array where each key is your merchant login and the value is the related
passphrase
- $skipAuthCheck
- Skip the checksum validation
|
public
mixed
|
#
getEvent( )
Return the entity linked to the EMS call received
Return the entity linked to the EMS call received
Returns
mixed One of the Syspay_Merchant_Entity classes depending on the event received
Throws
|
public
string
|
#
getEventId( )
Return the event unique ID
Return the event unique ID
Returns
string string
|
public
DateTime
|
#
getEventDate( )
Return the event creation date
Return the event creation date
Returns
DateTime DateTime
|