{"title":"Register the application with Adyen","category":"default","creationDate":1776961627,"content":"<p>After you initialize the library, you must register the cash register application with Adyen.<\/p>\n<h2 id=\"pos-object\">POS Object<\/h2>\n<table style=\"width:100%;\"><colgroup><col style=\"width: 5%\"><col style=\"width: 94%\"><\/colgroup><thead><tr class=\"header\"><th>Name<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>\n<p><code>POS<\/code><\/p>\n<\/td><td>\n<p>POS object that represents the cash register application.<\/p>\n<\/td><\/tr><\/tbody><\/table>\n<h2 id=\"method\">Method<\/h2>\n<table style=\"width:100%;\"><colgroup><col style=\"width: 9%\"><col style=\"width: 90%\"><\/colgroup><thead><tr class=\"header\"><th>Name<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>\n<p><code>RegisterApp<\/code><\/p>\n<\/td><td>\n<p>Registers the cash register application with Adyen. Registration requires a valid merchant account and API credentials to access the plataforma de pagamentos da Adyen. A unique cash register identifier is required.<\/p>\n<\/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 used for registration.<\/td>\n<\/tr>\n<tr>\n<td><code>wsUser<\/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>Username of your API credential. In the Adyen Customer Area, go to <strong>Developers<\/strong> &gt; <strong>API credentials<\/strong> to create a new credential. For more information, see\u00a0<a href=\"\/pt\/development-resources\/api-credentials\">API credentials<\/a>.<\/td>\n<\/tr>\n<tr>\n<td><code>password<\/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>Basic authentication password for the API credential. In the Adyen Customer Area, go to <strong>Developers<\/strong> &gt; <strong>API credentials<\/strong> to add a new password. For more information, see\u00a0<a href=\"\/pt\/development-resources\/api-credentials#basic-authentication\">Basic authentication<\/a>.<\/td>\n<\/tr>\n<tr>\n<td><code>appID<\/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>Unique ID of the cash register application.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"sc-notice note\"><div>\n<p>Register the application once, after the cash register starts.<\/p>\n<\/div><\/div>\n<h2 id=\"callback\">Callback<\/h2>\n<table style=\"width:100%;\"><colgroup><col style=\"width: 9%\"><col style=\"width: 90%\"><\/colgroup><thead><tr class=\"header\"><th>Name<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>\n<p><code>RegisterAppCB<\/code><\/p>\n<\/td><td>\n<p>The Register App Callback returns the result of registration, as well as any errors.<\/p>\n<\/td><\/tr><\/tbody><\/table>\n<h2 id=\"parameters-1\">Parameters<\/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>appObj<\/code><\/td>\n<td><a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/com-extension-for-windows-objects\/appinfo\">AppInfo<\/a><\/td>\n<td>Object that holds POS information. The plataforma de pagamentos da Adyen uses this information for application registration.<\/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.\u00a0A 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.\u00a0A 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\/key-steps-com-extension\/register-the-application-with-adyen-com-extension","articleFields":{"id":"25143506","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\/key-steps-com-extension\/register-the-application-with-adyen-com-extension","title":"Register the application with Adyen","content":"After you initialize the library, you must register the cash register application with Adyen.\nPOS Object\nNameDescription\nPOS\n\nPOS object that represents the cash register application.\n\nMethod\nNameDescription\nRegisterApp\n\nRegisters the cash register application with Adyen. Registration requires a valid merchant account and API credentials to access the plataforma de pagamentos da Adyen. A unique cash register identifier is required.\n\nParameters\n\n\n\nName\nType\nRequired\nDescription\n\n\n\n\nmerchantAccount\nString\n\nThe merchant account used for registration.\n\n\nwsUser\nString\n\nUsername of your API credential. In the Adyen Customer Area, go to Developers &gt; API credentials to create a new credential. For more information, see\u00a0API credentials.\n\n\npassword\nString\n\nBasic authentication password for the API credential. In the Adyen Customer Area, go to Developers &gt; API credentials to add a new password. For more information, see\u00a0Basic authentication.\n\n\nappID\nString\n\nUnique ID of the cash register application.\n\n\n\n\nRegister the application once, after the cash register starts.\n\nCallback\nNameDescription\nRegisterAppCB\n\nThe Register App Callback returns the result of registration, as well as any errors.\n\nParameters\n\n\n\nName\nType\nDescription\n\n\n\n\nappObj\nAppInfo\nObject that holds POS information. The plataforma de pagamentos da Adyen uses this information for application registration.\n\n\npedResult\nint\nResult denoting whether an error occurred on the PED.\u00a0A value of 0 means no error occurred.\n\n\npspResult\nint\nResult denoting whether an error occurred on the PSP.\u00a0A 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":"Key steps","lvl6":"Register the application with Adyen"},"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\/key-steps-com-extension","lvl6":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/key-steps-com-extension\/register-the-application-with-adyen-com-extension"},"levels":7,"category":"In-person payments","category_color":"green","tags":["Register","application","Adyen"]}}
