{"title":"Handle the PED Exception Callback","category":"default","creationDate":1776961627,"content":"<h2 id=\"callback\">Callback<\/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>pedExceptionCallback<\/code><\/td>\n<td>Returned when<strong>\u00a0<\/strong>an exception occurs during a <code>tender<\/code> or <code>giftCard<\/code> operation. The parameter <code>transaction<\/code> is a parent class of both <code>tender<\/code> and <code>giftCard<\/code> classes, defining the common attributes. The callback returns the following parameters:<\/td>\n<\/tr>\n<\/tbody>\n<\/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>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/extras-jni\/handle-the-ped-exception-callback-jni","articleFields":{"id":"24217587","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\/extras-jni\/handle-the-ped-exception-callback-jni","title":"Handle the PED Exception Callback","content":"Callback\n\n\n\nName\nDescription\n\n\n\n\npedExceptionCallback\nReturned when\u00a0an exception occurs during a tender or giftCard operation. The parameter transaction is a parent class of both tender and giftCard classes, defining the common attributes. The callback returns the following parameters:\n\n\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","type":"page","locale":"pt","boost":14,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"Java Native Interface integration","lvl5":"Extras","lvl6":"Handle the PED Exception 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\/extras-jni","lvl6":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/extras-jni\/handle-the-ped-exception-callback-jni"},"levels":7,"category":"In-person payments","category_color":"green","tags":["Handle","Exception","Callback"]}}
