{"title":"Testing your online payments integration","category":"default","creationDate":1700729760,"content":"<p>We recommend testing your full integration, including the client-side and server-side parts, in your test environment before accepting live payments.<\/p>\n<h2>Requirements<\/h2>\n<ol>\n<li>From your <a href=\"https:\/\/ca-test.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">test Customer Area<\/a>, get your test API key and test client key.<\/li>\n<li>Configure your test Customer Area with all the functionality you will support when you go live.<\/li>\n<li><a href=\"\/online-payments\/build-your-integration\/\">Build an integration<\/a> for accepting online payments.<\/li>\n<li>Set up your <a href=\"\/development-resources\/webhooks\">webhook server<\/a>. Getting test webhooks is an important part of making sure that your integration can handle many scenarios.<\/li>\n<\/ol>\n<h2>Test your integration<\/h2>\n<p>Test the different types of transactions with Adyen that your integration handles using <a href=\"\/development-resources\/test-cards-and-credentials\">test credentials<\/a>. Test all the payment methods that you will offer. For each payment method, test your payment request with all the <code>countryCode<\/code> values for the shopper countries\/regions you will accept.<\/p>\n<p>For example, in your client-side app's test environment, enter a test card number in your payment form and submit it. Then, check that your server-side setup makes the corresponding request and that your webhook server gets the corresponding webhook.<\/p>\n<div class=\"fingerpost output-inline\">\n<a href=\"\/development-resources\/testing\/payments-and-modifications\" class=\"fingerpost__link fingerpost__link--small\" style=\"overflow:hidden;\" target=\"_self\"><div class=\"fingerpost__body\"><p><img alt=\"\" src=\"\/user\/pages\/docs\/13.development-resources\/07.testing\/cash-back.svg?decoding=auto&amp;fetchpriority=auto\"><\/p><p><span style=\"font-size: 18px;\"><strong>Payments and modifications<\/strong><\/span><\/p><p>Make payments and modify payments after they are completed.<\/p><\/div><\/a><a href=\"\/development-resources\/testing\/tokenization\" class=\"fingerpost__link fingerpost__link--small\" style=\"overflow:hidden;\" target=\"_self\"><div class=\"fingerpost__body\"><p><img alt=\"\" src=\"\/user\/pages\/docs\/13.development-resources\/07.testing\/account-updater.svg?decoding=auto&amp;fetchpriority=auto\"><\/p><p><span style=\"font-size: 18px;\"><strong>Tokenization<\/strong><\/span><\/p><p>Store payment methods for your shoppers.<\/p><\/div><\/a><a href=\"\/development-resources\/testing\/risk-features\" class=\"fingerpost__link fingerpost__link--small\" style=\"overflow:hidden;\" target=\"_self\"><div class=\"fingerpost__body\"><p><img alt=\"\" src=\"\/user\/pages\/docs\/13.development-resources\/07.testing\/risk-danger.svg?decoding=auto&amp;fetchpriority=auto\"><\/p><p><span style=\"font-size: 18px;\"><strong>Risk features<\/strong><\/span><\/p><p>Use Adyen's risk features to protect and improve your integration.<\/p><\/div><\/a><a href=\"\/development-resources\/testing\/3d-secure-2-authentication\" class=\"fingerpost__link fingerpost__link--small\" style=\"overflow:hidden;\" target=\"_self\"><div class=\"fingerpost__body\"><p><img alt=\"\" src=\"\/user\/pages\/docs\/13.development-resources\/07.testing\/credit-card-lock.svg?decoding=auto&amp;fetchpriority=auto\"><\/p><p><span style=\"font-size: 18px;\"><strong>3D Secure 2 authentication<\/strong><\/span><\/p><p>Handle card transactions that require 3D Secure 2 authentication.<\/p><\/div><\/a><a href=\"\/development-resources\/testing\/result-codes\" class=\"fingerpost__link fingerpost__link--small\" style=\"overflow:hidden;\" target=\"_self\"><div class=\"fingerpost__body\"><p><img alt=\"\" src=\"\/user\/pages\/docs\/13.development-resources\/07.testing\/webhooks.svg?decoding=auto&amp;fetchpriority=auto\"><\/p><p><span style=\"font-size: 18px;\"><strong>Result codes<\/strong><\/span><\/p><p>Get the result codes and handle them with your integration.<\/p><\/div><\/a><\/div>\n\n<h2>See also<\/h2>\n<div class=\"see-also-links output-inline\" id=\"see-also\">\n<ul><li><a href=\"\/development-resources\/test-cards-and-credentials\"\n                        target=\"_self\"\n                        >\n                    Test cards and credentials\n                <\/a><\/li><\/ul><\/div>\n","url":"https:\/\/docs.adyen.com\/development-resources\/testing","articleFields":{"description":"Troubleshoot issues with your online payment integration before it goes live.","cache_enable":false,"feedback_component":true,"filters_component":false,"page_id":"f4c7966c-f991-4159-b7f9-0c716ea73927","decision_tree":"[]"},"algolia":{"url":"https:\/\/docs.adyen.com\/development-resources\/testing","title":"Testing your online payments integration","content":"We recommend testing your full integration, including the client-side and server-side parts, in your test environment before accepting live payments.\nRequirements\n\nFrom your test Customer Area, get your test API key and test client key.\nConfigure your test Customer Area with all the functionality you will support when you go live.\nBuild an integration for accepting online payments.\nSet up your webhook server. Getting test webhooks is an important part of making sure that your integration can handle many scenarios.\n\nTest your integration\nTest the different types of transactions with Adyen that your integration handles using test credentials. Test all the payment methods that you will offer. For each payment method, test your payment request with all the countryCode values for the shopper countries\/regions you will accept.\nFor example, in your client-side app's test environment, enter a test card number in your payment form and submit it. Then, check that your server-side setup makes the corresponding request and that your webhook server gets the corresponding webhook.\n\nPayments and modificationsMake payments and modify payments after they are completed.TokenizationStore payment methods for your shoppers.Risk featuresUse Adyen's risk features to protect and improve your integration.3D Secure 2 authenticationHandle card transactions that require 3D Secure 2 authentication.Result codesGet the result codes and handle them with your integration.\n\nSee also\n\n\n                    Test cards and credentials\n                \n","type":"page","locale":"en","boost":18,"hierarchy":{"lvl0":"Home","lvl1":"Development resources","lvl2":"Testing your online payments integration"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/","lvl1":"https:\/\/docs.adyen.com\/development-resources","lvl2":"\/development-resources\/testing"},"levels":3,"category":"Development Resources","category_color":"green","tags":["Testing","online","payments","integration"]},"articleFiles":{"account-updater.svg":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/user\/pages\/docs\/13.development-resources\/07.testing\/account-updater.svg?decoding=auto&amp;fetchpriority=auto\" \/>","cash-back.svg":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/user\/pages\/docs\/13.development-resources\/07.testing\/cash-back.svg?decoding=auto&amp;fetchpriority=auto\" \/>","cash-stack.svg":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/user\/pages\/docs\/13.development-resources\/07.testing\/cash-stack.svg\" \/>","credentials.svg":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/user\/pages\/docs\/13.development-resources\/07.testing\/credentials.svg\" \/>","credit-card-lock.svg":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/user\/pages\/docs\/13.development-resources\/07.testing\/credit-card-lock.svg?decoding=auto&amp;fetchpriority=auto\" \/>","local-payment-methods.svg":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/user\/pages\/docs\/13.development-resources\/07.testing\/local-payment-methods.svg\" \/>","risk-danger.svg":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/user\/pages\/docs\/13.development-resources\/07.testing\/risk-danger.svg?decoding=auto&amp;fetchpriority=auto\" \/>","servers.svg":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/user\/pages\/docs\/13.development-resources\/07.testing\/servers.svg\" \/>","stack-of-credit-cards-2.svg":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/user\/pages\/docs\/13.development-resources\/07.testing\/stack-of-credit-cards-2.svg\" \/>","stack-of-credit-cards.svg":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/user\/pages\/docs\/13.development-resources\/07.testing\/stack-of-credit-cards.svg\" \/>","webhooks.svg":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/user\/pages\/docs\/13.development-resources\/07.testing\/webhooks.svg?decoding=auto&amp;fetchpriority=auto\" \/>"}}
