{"title":"Handle the Signature callback","category":"default","creationDate":1776961627,"content":"<h2 id=\"callback\">Callback<\/h2>\n<table><thead><tr class=\"header\"><th><p>Name<\/p><\/th><th><p>Description<\/p><\/th><\/tr><\/thead><tbody><tr><td>\n<p><code>tenderCheckSignatureCallback<\/code><\/p>\n<\/td><td>\n<p>When the system requires a signature, the PED shows the relevant data and the shopper can sign on the touch screen. The system invokes the <code>tenderCheckSignatureCallback<\/code>\u00a0to allow the store assistant to accept or decline the signature.<div class=\"sc-notice note\"><div>Trigger this callback by creating a tender with the <code>tenderOption<\/code> <code>receiptHandler.<\/code><\/div><\/div><\/p>\n<\/td><\/tr><\/tbody><\/table>\n<h2 id=\"callback-response-attributes\">Callback Response Attributes<\/h2>\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>additionalData<\/code><\/td>\n<td>Adyen returns the\u00a0<code>additionalData<\/code>\u00a0object, a generic container that can hold extra response fields<\/td>\n<\/tr>\n<tr>\n<td><code>tenderReference<\/code><\/td>\n<td>Reference the PED provides for the transaction, used in reporting on the plataforma de pagamentos da Adyen.<\/td>\n<\/tr>\n<tr>\n<td><code>tenderState<\/code><\/td>\n<td>Transaction state<\/td>\n<\/tr>\n<tr>\n<td><code>adyenResult<\/code><\/td>\n<td>Transaction result details<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"confirmation-method\">Confirmation Method<\/h2>\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>confirmCheckSignature<\/code><\/td>\n<td>This method runs against the tender object. Staff must verify the signature, and confirm or reject it.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"parameters\">Parameters<\/h2>\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Type<\/th>\n<th>Required<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>tender<\/code><\/td>\n<td>Tender<\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td>Use this as a key to confirm additional data.<\/td>\n<\/tr>\n<tr>\n<td><code>attendentAction<\/code><\/td>\n<td>com.adyen.jni.clib.AdyenPed.AttendantAction<\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td>Indicates the action to be taken.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"determine-the-current-and-final-tender-state\">Determine the current and final tender state<\/h2>\n<p>Adyen provides a method to determine the current, or final, tender state. For more information, see\u00a0<a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/process-a-basic-transaction-jni\/determine-the-current-and-final-tender-state-jni\">Determine the current and final tender state - JNI<\/a>.<\/p>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/process-a-basic-transaction-jni\/handle-the-signature-callback-jni","articleFields":{"id":"24217578","type":"page","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/process-a-basic-transaction-jni\/handle-the-signature-callback-jni","title":"Handle the Signature callback","content":"Callback\nNameDescription\ntenderCheckSignatureCallback\n\nWhen the system requires a signature, the PED shows the relevant data and the shopper can sign on the touch screen. The system invokes the tenderCheckSignatureCallback\u00a0to allow the store assistant to accept or decline the signature.Trigger this callback by creating a tender with the tenderOption receiptHandler.\n\nCallback Response Attributes\n\n\n\nName\nDescription\n\n\n\n\nadditionalData\nAdyen returns the\u00a0additionalData\u00a0object, a generic container that can hold extra response fields\n\n\ntenderReference\nReference the PED provides for the transaction, used in reporting on the plataforma de pagamentos da Adyen.\n\n\ntenderState\nTransaction state\n\n\nadyenResult\nTransaction result details\n\n\n\nConfirmation Method\n\n\n\nName\nDescription\n\n\n\n\nconfirmCheckSignature\nThis method runs against the tender object. Staff must verify the signature, and confirm or reject it.\n\n\n\nParameters\n\n\n\nName\nType\nRequired\nDescription\n\n\n\n\ntender\nTender\n\nUse this as a key to confirm additional data.\n\n\nattendentAction\ncom.adyen.jni.clib.AdyenPed.AttendantAction\n\nIndicates the action to be taken.\n\n\n\nDetermine the current and final tender state\nAdyen provides a method to determine the current, or final, tender state. For more information, see\u00a0Determine the current and final tender state - JNI.","type":"page","locale":"pt","boost":13,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"Java Native Interface integration","lvl5":"Key steps","lvl6":"Process a basic transaction","lvl7":"Handle the Signature callback"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/point-of-sale","lvl2":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation","lvl3":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations","lvl4":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration","lvl5":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni","lvl6":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/process-a-basic-transaction-jni","lvl7":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/process-a-basic-transaction-jni\/handle-the-signature-callback-jni"},"levels":8,"category":"In-person payments","category_color":"green","tags":["Handle","Signature","callback"]}}
