A callback method that handles transactions.
handleEvent(transaction)
This method does not return anything.