{"title":"Trustly Drop-in integration","category":"default","creationDate":1776961628,"content":"<p>This page explains how to add Trustly to your existing iOS 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\">iOS 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>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=iOS&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\n<div id=\"taba6nm8\">\n    <div data-component-wrapper=\"tabs\">\n        <tabs\n                        :items=\"[{&quot;title&quot;:&quot;v5.0.0 or later&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;There is no required Trustly-specific integration for Drop-in.&lt;\\\/p&gt;\\n&quot;,&quot;altTitle&quot;:&quot;5&quot;,&quot;oldTabId&quot;:&quot;required-config-5_1&quot;,&quot;relation&quot;:&quot;5&quot;},{&quot;title&quot;:&quot;v4.x.x&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;There is no required Trustly specific integration for Drop-in.&lt;\\\/p&gt;\\n&quot;,&quot;altTitle&quot;:&quot;4&quot;,&quot;oldTabId&quot;:&quot;required-config-4_2&quot;,&quot;relation&quot;:&quot;4&quot;}]\"\n            :should-update-when-url-changes='true'>\n        <\/tabs>\n    <\/div>\n<\/div>\n\n<h2 id=\"test-and-go-live\">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\/build-your-integration\/sessions-flow?platform=iOS&amp;integration=Components\"\n                        target=\"_self\"\n                        >\n                    iOS Components 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\/ios-drop-in","articleFields":{"description":"Add Trustly to anexisting iOS Drop-in integration.","parameters":{"payment_method":"Trustly","country_code":"SE","currency_code":"SEK","payment_method_type":"trustly","return_url":"my-app:\/\/adyen","integration":"Drop-in","platform":"iOS","integration_guide_url":"build-your-integration\/sessions-flow?platform=iOS&integration=Drop-in","component_name":"the Trustly Component","component_js_const":"trustly"},"feedback_component":true},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/trustly\/ios-drop-in","title":"Trustly Drop-in integration","content":"This page explains how to add Trustly to your existing iOS Drop-in integration.\nRequirements\n\n\n\nRequirement\nDescription\n\n\n\n\nIntegration type\nMake sure that you have built your iOS Drop-in integration.  \n\n\nSetup steps\nBefore you begin, add Trustly in your test Customer Area.\n\n\n\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\n\n\n    \n        \n        \n    \n\n\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                    iOS Components 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\/ios-drop-in"},"levels":4,"category":"Payment method","category_color":"green","tags":["Trustly","Drop-in","integration"]},"articleFiles":{"payments.js":"<p alt=\"\">payments.js<\/p>"}}
