Implement this interface to set triggers for transaction event on Rave.
An event can be triggered when a Rave initializes a transaction, When a transaction is successful, failed, requeried and when a requery fails.
| author |
Olufemi Olanipekun iolufemi@ymail.com |
|---|---|
| version | 1.0 |
| package |
Default |
onCancel(string $transactionReference)
stringThis is the transaction reference as returned from the Rave payment gateway
onFailure(object $transactionData)
objectThis is the transaction data as returned from the Rave payment gateway
onInit(object $initializationData)
objectThis is the initial transaction data as passed
onRequery(string $transactionReference)
stringThis is the transaction reference as returned from the Rave payment gateway
onRequeryError(string $requeryResponse)
stringThis is the error response gotten from the Rave payment gateway requery call
onSuccessful(object $transactionData)
objectThis is the transaction data as returned from the Rave payment gateway
onTimeout(string $transactionReference, $data)
| data |
object $data This is the data returned from the requery call. |
|---|---|
stringThis is the transaction reference as returned from the Rave payment gateway