{"title":"Trustly Drop-in integration","category":"default","creationDate":1776961628,"content":"<p>This page explains how to add Trustly to your existing Web Drop-in integration.<\/p>\n<h2>Requirements<\/h2>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Requirement<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>Integration type<\/strong><\/td>\n<td style=\"text-align: left;\">Make sure that you have built your <a href=\"\/pt\/online-payments\/build-your-integration\">Web Drop-in integration<\/a>.  <\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Setup steps<\/strong><\/td>\n<td style=\"text-align: left;\">Before you begin, <a href=\"\/pt\/payment-methods\/add-payment-methods\">add Trustly in your test Customer Area<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Import resources for v6<\/h2>\n<p>If you are using Web Drop-in v6, import the resources you need for Trustly:<\/p>\n<pre><code class=\"language-js\">import { AdyenCheckout, Trustly} from '@adyen\/adyen-web'<\/code><\/pre>\n<h2>API reference<\/h2>\n<p>You do not need to send additional fields for Trustly. To see optional fields that you can send for all payment methods, choose the endpoint you integrated:<\/p>\n<ul>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/sessions\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/sessions<\/a>&#58; This is the default with <a href=\"\/pt\/online-payments\/build-your-integration\/sessions-flow?platform=Web&amp;integration=Drop-in\">Drop-in v5.0.0<\/a> or later.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a>&#58; If you implemented an <a href=\"\/pt\/online-payments\/build-your-integration\">additional use case<\/a>.<\/li>\n<\/ul>\n<h2>Drop-in configuration<\/h2>\n<p>There are no configuration steps specific to Trustly required for Drop-in.<\/p>\n<h2>Test and go live<\/h2>\n<p>Trustly provides a <a href=\"https:\/\/docs.trustly.com\/get-started\/adyen\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">test environment<\/a>. For <strong>Login ID\/Personal number<\/strong> values, you can enter any digits, following the format <code>YYMMDD-XXXX<\/code> (for example: <strong>111111-1111<\/strong>). <\/p>\n<p>You can check the status of Trustly test payments in your\u00a0<a href=\"https:\/\/ca-test.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Customer Area<\/a>\u00a0&gt;\u00a0<strong>Transactions<\/strong>\u00a0&gt;\u00a0<strong>Payments<\/strong>.<\/p>\n<p>Before you can accept live Trustly payments, you need to submit a request for Trustly in your <a href=\"https:\/\/ca-live.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">live Customer Area<\/a>.<\/p>\n<h2 id=\"see-also\">See also<\/h2>\n<div class=\"see-also-links output-inline\" id=\"see-also\">\n<ul><li><a href=\"\/online-payments\/drop-in-web\"\n                        target=\"_self\"\n                        >\n                    Web Drop-in integration guide\n                <\/a><\/li><li><a href=\"\/development-resources\/webhooks\"\n                        target=\"_self\"\n                        >\n                    Webhooks\n                <\/a><\/li><li><a href=\"https:\/\/docs.adyen.com\/api-explorer\/#\/CheckoutService\/latest\/overview\"\n                        target=\"_blank\"\n                         class=\"external\">\n                    API Explorer\n                <\/a><\/li><\/ul><\/div>\n","url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/trustly\/web-drop-in","articleFields":{"description":"Learn how to accept Trustly payments.","section_icon":"payment-methods.svg","id":"24216679","type":"page","_expandable":{"operations":""},"status":"current","parameters":{"integration":"Drop-in","platform":"Web","integration_guide_url":"build-your-integration\/sessions-flow?platform=Web&integration=Drop-in","component_name":"Drop-in","component_class":"Trustly","component_name_capitalized":"Drop-in","payment_method":"Trustly","payment_method_type":"trustly","component_js_const":"trustly"}},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/trustly\/web-drop-in","title":"Trustly Drop-in integration","content":"This page explains how to add Trustly to your existing Web Drop-in integration.\nRequirements\n\n\n\nRequirement\nDescription\n\n\n\n\nIntegration type\nMake sure that you have built your Web Drop-in integration.  \n\n\nSetup steps\nBefore you begin, add Trustly in your test Customer Area.\n\n\n\nImport resources for v6\nIf you are using Web Drop-in v6, import the resources you need for Trustly:\nimport { AdyenCheckout, Trustly} from '@adyen\/adyen-web'\nAPI reference\nYou do not need to send additional fields for Trustly. To see optional fields that you can send for all payment methods, choose the endpoint you integrated:\n\n \/sessions&#58; This is the default with Drop-in v5.0.0 or later.\n \/payments&#58; If you implemented an additional use case.\n\nDrop-in configuration\nThere are no configuration steps specific to Trustly required for Drop-in.\nTest and go live\nTrustly provides a test environment. For Login ID\/Personal number values, you can enter any digits, following the format YYMMDD-XXXX (for example: 111111-1111). \nYou can check the status of Trustly test payments in your\u00a0Customer Area\u00a0&gt;\u00a0Transactions\u00a0&gt;\u00a0Payments.\nBefore you can accept live Trustly payments, you need to submit a request for Trustly in your live Customer Area.\nSee also\n\n\n                    Web Drop-in integration guide\n                \n                    Webhooks\n                \n                    API Explorer\n                \n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Payment methods","lvl2":"Trustly","lvl3":"Trustly Drop-in integration"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/payment-methods","lvl2":"https:\/\/docs.adyen.com\/pt\/payment-methods\/trustly","lvl3":"\/pt\/payment-methods\/trustly\/web-drop-in"},"levels":4,"category":"Payment method","category_color":"green","tags":["Trustly","Drop-in","integration"]}}
