Handle the final state callback

Callback

Name

Description

finalCallback

When the tender completes, it triggers the final state callback.

Parameter

Name Description
Tender Object used to hold the tender attributes.

Callback Response Attributes

Name Description
additionalData

Additional data returned by Adyen 

tenderReference

Transaction reference provided by the PED (reported in Adyen back end)

tenderState

Transaction state

adyenResult

Transaction result details


Final States

State Description

DECLINED

The transaction was declined.
APPROVED The transaction was approved
CANCELLED The transaction was cancelled.
ERROR The transaction did not go through as an error occurred
UNKNOWN The tender state is unknown, and it is not possible to determine it. If you are using the TxStore feature, you can check the transaction result there. If not, you can check the transactions menu on the PED.