--- title: "Handle the final state callback" url: "https://docs.adyen.com/point-of-sale/classic-library-deprecation/classic-library-integrations/com-extension-for-windows-integration/key-steps-com-extension/process-a-basic-transaction-com-extension/handle-the-final-state-callback-com-extension" source_url: "https://docs.adyen.com/point-of-sale/classic-library-deprecation/classic-library-integrations/com-extension-for-windows-integration/key-steps-com-extension/process-a-basic-transaction-com-extension/handle-the-final-state-callback-com-extension.md" canonical: "https://docs.adyen.com/point-of-sale/classic-library-deprecation/classic-library-integrations/com-extension-for-windows-integration/key-steps-com-extension/process-a-basic-transaction-com-extension/handle-the-final-state-callback-com-extension" last_modified: "2026-05-23T12:56:20+02:00" language: "en" --- # Handle the final state callback [View source](/point-of-sale/classic-library-deprecation/classic-library-integrations/com-extension-for-windows-integration/key-steps-com-extension/process-a-basic-transaction-com-extension/handle-the-final-state-callback-com-extension.md) ## Final State Callback | Name | Description | | ------------- | --------------------------------------------------------------------- | | `TenderFinal` | When the transaction completes, it triggers the final state callback. | ## Parameters | Name | Type | Description | | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | | `pedObj` | [PedDevice](/point-of-sale/classic-library-deprecation/classic-library-integrations/com-extension-for-windows-integration/com-extension-for-windows-objects/peddevice) | PED object that represents the terminal. | | `tenderObj` | [Tender](/point-of-sale/classic-library-deprecation/classic-library-integrations/com-extension-for-windows-integration/com-extension-for-windows-objects/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 stat](/point-of-sale/classic-library-deprecation/classic-library-integrations/com-extension-for-windows-integration/key-steps-com-extension/process-a-basic-transaction-com-extension/determine-the-current-and-final-tender-state-com-extension)[e](/point-of-sale/classic-library-deprecation/classic-library-integrations/com-extension-for-windows-integration/key-steps-com-extension/process-a-basic-transaction-com-extension/determine-the-current-and-final-tender-state-com-extension) .