{"title":"Error handling for Hosted Payment Pages","category":"default","creationDate":1776961627,"content":"<div class=\"sc-notice warning\"><div>\n<p><strong>Hosted Payment Pages are no longer available<\/strong><\/p>\n<p>To accept payments through an Adyen-hosted page, use our <a href=\"\/pt\/online-payments\/build-your-integration\/sessions-flow?platform=Web&amp;integration=Hosted%2BCheckout\">Hosted Checkout<\/a>.<\/p>\n<p>This page is for the classic Hosted Payment Pages (HPP) integration, which has reached end-of-life.  We are no longer processing transactions though HPP.<\/p>\n<\/div><\/div>\n<p>When an error condition occurs, there are some cases where Adyen cannot determine which skin and language to use to display the error message with.<\/p>\n<p>To enhance the shopper experience, you have the option to include the following fields in the URL that the shopper is directed to:<\/p>\n<table>\n<thead>\n<tr>\n<th>Field<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>skinCode<\/code><\/td>\n<td>The code of the skin used.<\/td>\n<\/tr>\n<tr>\n<td><code>shopperLocale<\/code><\/td>\n<td>A combination of a language code and country code to specify the language used in the session.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>These fields are prepended to <code>pay.shtml<\/code> or\u00a0<code>select.shtml<\/code>, and they separated by a forward slash (<code>\/<\/code>), resulting in the following format options:<\/p>\n<pre><code>&lt;skinCode&gt;\/pay.shtml<\/code><\/pre>\n<p>or<\/p>\n<pre><code>&lt;skinCode&gt;\/&lt;shopperLocale&gt;\/pay.shtml<\/code><\/pre>\n<p>These values are used as a fallback when Adyen is unable to determine skin and language configuration.<\/p>","url":"https:\/\/docs.adyen.com\/pt\/online-payments\/classic-integrations\/hosted-payment-pages\/hpp-error-handling","articleFields":{"id":"24217208","type":"page","_expandable":{"operations":""},"status":"current","sitemap":{"priority":0.3},"parameters":{"anchor_new":"<a href=\"\/development-resources\/response-handling\">Response handling<\/a>","parent_page":"classic Hosted Payment Pages (HPP)","new_desc":"integrating using our Checkout APIs"}},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/online-payments\/classic-integrations\/hosted-payment-pages\/hpp-error-handling","title":"Error handling for Hosted Payment Pages","content":"\nHosted Payment Pages are no longer available\nTo accept payments through an Adyen-hosted page, use our Hosted Checkout.\nThis page is for the classic Hosted Payment Pages (HPP) integration, which has reached end-of-life.  We are no longer processing transactions though HPP.\n\nWhen an error condition occurs, there are some cases where Adyen cannot determine which skin and language to use to display the error message with.\nTo enhance the shopper experience, you have the option to include the following fields in the URL that the shopper is directed to:\n\n\n\nField\nDescription\n\n\n\n\nskinCode\nThe code of the skin used.\n\n\nshopperLocale\nA combination of a language code and country code to specify the language used in the session.\n\n\n\nThese fields are prepended to pay.shtml or\u00a0select.shtml, and they separated by a forward slash (\/), resulting in the following format options:\n&lt;skinCode&gt;\/pay.shtml\nor\n&lt;skinCode&gt;\/&lt;shopperLocale&gt;\/pay.shtml\nThese values are used as a fallback when Adyen is unable to determine skin and language configuration.","type":"page","locale":"pt","boost":16,"hierarchy":{"lvl0":"Home","lvl1":"Online payments","lvl2":"Classic integrations for Ecommerce","lvl3":"Hosted Payment Pages","lvl4":"Error handling for Hosted Payment Pages"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/online-payments","lvl2":"https:\/\/docs.adyen.com\/pt\/online-payments\/classic-integrations","lvl3":"https:\/\/docs.adyen.com\/pt\/online-payments\/classic-integrations\/hosted-payment-pages","lvl4":"\/pt\/online-payments\/classic-integrations\/hosted-payment-pages\/hpp-error-handling"},"levels":5,"category":"Online Payments","category_color":"green","tags":["Error","handling","Hosted","Payment","Pages"]}}
