{"title":"Display a screen on a large screen terminal - COM","category":"default","creationDate":1776961627,"content":"<h2 id=\"method\">Method<\/h2>\n<table style=\"width:100%;\"><colgroup><col style=\"width: 9%\"><col style=\"width: 89%\"><\/colgroup><thead><tr class=\"header\"><th>Name<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><code>ShowScreen<\/code><\/td><td>For terminals with large screens (MX925, MX915) this method allows the cash register to display specific screens prior to the processing the tender. Use this method to display order items on a virtual receipt.<\/td><\/tr><\/tbody><\/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>merchantAccount<\/code><\/td>\n<td>String<\/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>The merchant account associated with the transaction<\/td>\n<\/tr>\n<tr>\n<td><code>screenName<\/code><\/td>\n<td>String<\/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>Name of the XSLT file stored in the terminal and used as a template.<\/td>\n<\/tr>\n<tr>\n<td><code>formatB64XML<\/code><\/td>\n<td>String<\/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>Base64 encoded XML data sent to the screen. Includes data elements as well as styling options. The XML contains all relevant data in simple nodes. The relevant options depend on the template to show the screen and expose content control options.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<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>ShowScreenCB<\/code><\/td>\n<td>Callback used to return whether the screen displayed correctly, including error messages if applicable.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"returned-details\">Returned Details<\/h2>\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>screenId<\/code><\/td>\n<td>int<\/td>\n<td>The ID of the screen reporting in the callback. A terminal will only accept one message at a time. If several\u00a0<code>showScreen<\/code>\u00a0requests are sent before getting the\u00a0<code>showScreen<\/code>\u00a0callback, the last message will override previous messages.<\/td>\n<\/tr>\n<tr>\n<td><code>pedResult<\/code><\/td>\n<td>int<\/td>\n<td>Result denoting whether an error occurred on the PED. A value of 0 means no error occurred.<\/td>\n<\/tr>\n<tr>\n<td><code>pspResult<\/code><\/td>\n<td>int<\/td>\n<td>Result denoting whether an error occurred on the PSP. A value of 0 means no error occurred.<\/td>\n<\/tr>\n<tr>\n<td><code>libResult<\/code><\/td>\n<td>int<\/td>\n<td>Result denoting whether an error occurred in the Library. A value of 0 means no error occurred.<\/td>\n<\/tr>\n<tr>\n<td><code>errorMessage<\/code><\/td>\n<td>String<\/td>\n<td>Error message describing what went wrong.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/extras-com-extension\/display-a-screen-on-a-large-screen-terminal-com","articleFields":{"id":"25143521","type":"page","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/extras-com-extension\/display-a-screen-on-a-large-screen-terminal-com","title":"Display a screen on a large screen terminal - COM","content":"Method\nNameDescriptionShowScreenFor terminals with large screens (MX925, MX915) this method allows the cash register to display specific screens prior to the processing the tender. Use this method to display order items on a virtual receipt.\nParameters\n\n\n\nName\nType\nRequired\nDescription\n\n\n\n\nmerchantAccount\nString\n\nThe merchant account associated with the transaction\n\n\nscreenName\nString\n\nName of the XSLT file stored in the terminal and used as a template.\n\n\nformatB64XML\nString\n\nBase64 encoded XML data sent to the screen. Includes data elements as well as styling options. The XML contains all relevant data in simple nodes. The relevant options depend on the template to show the screen and expose content control options.\n\n\n\nCallback\n\n\n\nName\nDescription\n\n\n\n\nShowScreenCB\nCallback used to return whether the screen displayed correctly, including error messages if applicable.\n\n\n\nReturned Details\n\n\n\nName\nType\nDescription\n\n\n\n\nscreenId\nint\nThe ID of the screen reporting in the callback. A terminal will only accept one message at a time. If several\u00a0showScreen\u00a0requests are sent before getting the\u00a0showScreen\u00a0callback, the last message will override previous messages.\n\n\npedResult\nint\nResult denoting whether an error occurred on the PED. A value of 0 means no error occurred.\n\n\npspResult\nint\nResult denoting whether an error occurred on the PSP. A value of 0 means no error occurred.\n\n\nlibResult\nint\nResult denoting whether an error occurred in the Library. A value of 0 means no error occurred.\n\n\nerrorMessage\nString\nError message describing what went wrong.\n\n\n","type":"page","locale":"pt","boost":14,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"COM extension for Windows integration","lvl5":"Extras","lvl6":"Display a screen on a large screen terminal - COM"},"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\/com-extension-for-windows-integration","lvl5":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/extras-com-extension","lvl6":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/extras-com-extension\/display-a-screen-on-a-large-screen-terminal-com"},"levels":7,"category":"In-person payments","category_color":"green","tags":["Display","screen","large","screen","terminal"]}}
