When a payment is successfully processed, this event is fired with the relevant information.
Generate transaction event response for the current event.
empty response when a standard transaction event. Child classes may implement appropriate responses as needed.
Returns the event ID associated with this event. Useful for matching the event received by the listener to the original status returned when issuing the call, for example, calling
com.verifone.commerce.payment.TransactionManager.reprintReceipt(Payment) returns a CommerceEvent containing an event ID, which will match the event ID received by the CommerceListener when the receipt reprint is complete.
The invoice ID for the transaction as a reference.
A user-readable message. This message may not be localized, in which case the type field should be used for determining a localized message.
Get the final payment object.
Get the receipt associated with the payment. This is the same object returned from the payment object.
Get the session ID for the session which triggered this event.
Get the status for this particular event. A status of 0 means success, any other status is a failure.
The transaction associated with this event.
The type of status. This will generally be SUCCESS for a status of 0, and contain a different type for other errors. For example, in a refund or void, it is possible to receive type TRANSACTION_NOT_FOUND. This may be used for localizing the specific messages as needed
Download this documentation
This documentation is protected by law from any form of duplication unless
prior permission is obtained from the officers of Verifone.
Verifone Payment SDK