No momento, esta página não está disponível em português
Point-of-sale icon

Handle the final state callback

Final State Callback

Name Description
TenderFinal When the transaction completes, it triggers the final state callback.

Parameters

Name Type Description
pedObj PedDevice PED object that represents the terminal.
tenderObj Tender The tender that represents the transaction.
finalObj FinalResponse The library returns a final header object, including final status and additional information.

Method

Name Description
GetResponseHeader Invoke this method on the finalObj to get the final status of a transaction and any additional information. Access the header object and additional data with this method, and store this information in private parameters.

To retrieve the final state of a tender, and determine whether goods or services should be provided to the cardholder, see Determining the current and final tender state .