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)
string
This is the transaction reference as returned from the Rave payment gateway
onFailure(object $transactionData)
object
This is the transaction data as returned from the Rave payment gateway
onInit(object $initializationData)
object
This is the initial transaction data as passed
onRequery(string $transactionReference)
string
This is the transaction reference as returned from the Rave payment gateway
onRequeryError(string $requeryResponse)
string
This is the error response gotten from the Rave payment gateway requery call
onSuccessful(object $transactionData)
object
This 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. |
---|---|
string
This is the transaction reference as returned from the Rave payment gateway