{"title":"Test your Giving integration","category":"default","creationDate":1695290760,"content":"<p>Before you go live with donations, test your integration to make sure that your nonprofit receives the donations from your shoppers. We recommend to test your integration in the <a href=\"#test-environment\">test environment<\/a>, and <a href=\"#live-environment\">live environment<\/a>. In each environment, test the following:<\/p>\n<ol>\n<li>Creating and activating a donation campaign.<\/li>\n<li>Making a donation.<\/li>\n<li>Getting the donation outcome in the <a href=\"\/pt\/development-resources\/webhooks\/webhook-types\/#other-webhooks\">Adyen Giving merchant webhook<\/a>.<\/li>\n<\/ol>\n<h2>Test environment<\/h2>\n<h3>Create and activate a test donation campaign<\/h3>\n<ol>\n<li>In your <a href=\"https:\/\/ca-test.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">test Customer Area<\/a>, go to <strong>Giving<\/strong> &gt; <strong>Campaigns<\/strong>.<\/li>\n<li><a href=\"\/pt\/online-payments\/donations\/#managing-donation-campaigns\">Create a test campaign<\/a> using one of our demo nonprofits.<\/li>\n<li>Select <strong>Start campaign<\/strong> for the campaign you configured to:\n<ul>\n<li>Activate the campaign.<\/li>\n<li>Start receiving the <code>donationToken<\/code> in the  <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> or  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/details\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments\/details<\/a> responses.<\/li>\n<\/ul><\/li>\n<\/ol>\n<h3>Make a test donation<\/h3>\n<div class=\"notices green\">\n<p>To test donations using iDEAL, contact our <a href=\"https:\/\/ca-test.adyen.com\/ca\/ca\/contactUs\/support.shtml?form=other\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Support Team<\/a> for additional configuration.<\/p>\n<\/div>\n<p>After you have started a campaign, verify that the  <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> or  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/details\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments\/details<\/a> response contains a <code>donationToken<\/code>.<\/p>\n<p>When you make a  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/donationCampaigns\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/donationCampaigns<\/a> request, verify that the details returned in the response are correct.<\/p>\n<p>Using your integration, make test donations using our <a href=\"#test-cards\">test cards<\/a>.<\/p>\n<h3>Get the test donation outcome<\/h3>\n<p>For each test donation that you make, verify that you get a <a href=\"\/pt\/development-resources\/webhooks\/webhook-types\/#other-webhooks\"><strong>DONATION<\/strong> webhook<\/a>.<\/p>\n<h2>Live environment<\/h2>\n<h3>Create and activate a live donation campaign<\/h3>\n<ol>\n<li>In your Live <a href=\"https:\/\/ca-live.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Customer Area<\/a>, go to <strong>Giving<\/strong> &gt; <strong>Campaigns<\/strong>.\n<div class=\"notices green\">\n<p>If you do not see <strong>Giving<\/strong> section in your Customer Area, reach out to your Adyen contact or our <a href=\"https:\/\/ca-test.adyen.com\/ca\/ca\/contactUs\/support.shtml?form=other\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Support Team<\/a>.<\/p>\n<\/div><\/li>\n<li><a href=\"\/pt\/online-payments\/donations\/#managing-donation-campaigns\">Create a campaign<\/a> for your nonprofit.<\/li>\n<li>Select <strong>Start campaign<\/strong> for the campaign you configured to:\n<ul>\n<li>Activate the campaign.<\/li>\n<li>Start receiving the <code>donationToken<\/code> in the  <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> or  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/details\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments\/details<\/a> responses.<\/li>\n<\/ul><\/li>\n<\/ol>\n<h3>Enable the webhook for the live environment<\/h3>\n<p>In your live <a href=\"https:\/\/ca-live.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Customer Area<\/a>, enable the <a href=\"\/pt\/development-resources\/webhooks\/webhook-types\/#other-webhooks\">Adyen Giving merchant webhook<\/a>.<\/p>\n<h3>Make donations for your live campaign<\/h3>\n<p>After you have started a campaign, verify that the  <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> or  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/details\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments\/details<\/a> response contains a <code>donationToken<\/code>.<\/p>\n<p>When you make a  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/donationCampaigns\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/donationCampaigns<\/a> request, verify that the details returned in the response are correct.<\/p>\n<p>Using your integration, make a donation to your nonprofit.<\/p>\n<h3>Get the donation outcome<\/h3>\n<p>You can verify the outcome of the donation by either:<\/p>\n<ul>\n<li>Getting the <a href=\"\/pt\/development-resources\/webhooks\/webhook-types\/#other-webhooks\"><strong>DONATION<\/strong> webhook<\/a> for your donation.<\/li>\n<li>Finding the donation in a <a href=\"\/pt\/reporting\/monitor-donations\">Giving report or dashboard<\/a>.<\/li>\n<\/ul>\n<h2>Troubleshooting<\/h2>\n<p>If an issue occurs with your test donation requests, you can find more details in the <a href=\"\/pt\/development-resources\/logs-resources\/api-logs\/\">API logs<\/a>.<\/p>\n<h2 id=\"test-cards\">Test cards for donations<\/h2>\n<p>You can use the test card details below to make test donations.<\/p>\n<table>\n<thead>\n<tr>\n<th>Card Number<\/th>\n<th>Card Type<\/th>\n<th>Issuing Country\/region<\/th>\n<th>Expiry Date<\/th>\n<th>CVC<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>3700 0000 0000 002<\/td>\n<td>American Express<\/td>\n<td>NL<\/td>\n<td>03\/2030<\/td>\n<td>7373<\/td>\n<\/tr>\n<tr>\n<td>3700 0000 0100 018<\/td>\n<td>American Express<\/td>\n<td>NL<\/td>\n<td>03\/2030<\/td>\n<td>7373<\/td>\n<\/tr>\n<tr>\n<td>5555 3412 4444 1115<\/td>\n<td>Mastercard Consumer<\/td>\n<td>NL<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<tr>\n<td>5201 2820 5004 2993<\/td>\n<td>Mastercard<\/td>\n<td>RU<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<tr>\n<td>5454 5464 9832 4682<\/td>\n<td>Mastercard<\/td>\n<td>PL<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<tr>\n<td>2223 5204 4356 0010<\/td>\n<td>Mastercard Debit<\/td>\n<td>NL<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<tr>\n<td>5103 2219 1119 9245<\/td>\n<td>Mastercard Prepaid<\/td>\n<td>BR<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<tr>\n<td>3569 9900 1009 5841<\/td>\n<td>JCB<\/td>\n<td>US<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<tr>\n<td>6011 6011 6011 6611<\/td>\n<td>Discover<\/td>\n<td>US<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<tr>\n<td>6445 6445 6445 6445<\/td>\n<td>Discover<\/td>\n<td>GB<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<tr>\n<td>6445 6445 6445 6445<\/td>\n<td>Carte Bancaire<\/td>\n<td>FR<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<tr>\n<td>4871 0499 9999 9910<\/td>\n<td>Bancontact<\/td>\n<td>BE<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The following test card doesn't require the CVC when entering the card details. You must use this card to test Visa payments.<\/p>\n<table>\n<thead>\n<tr>\n<th>Card Number<\/th>\n<th>Card Type<\/th>\n<th>Issuing Country\/region<\/th>\n<th>Expiry Date<\/th>\n<th>CVC<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>4111 1111 4555 1142<\/td>\n<td>Visa<\/td>\n<td>NL<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Test 3D Secure 2 authentication with donations<\/h3>\n<p>The following test cards are enrolled in 3D Secure 2.<\/p>\n<table>\n<thead>\n<tr>\n<th>Card Number<\/th>\n<th>Card Type<\/th>\n<th>Issuing Country\/region<\/th>\n<th>Expiry Date<\/th>\n<th>CVC<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>3714 4963 5398 431<\/td>\n<td>American Express<\/td>\n<td>US<\/td>\n<td>03\/2030<\/td>\n<td>7373<\/td>\n<\/tr>\n<tr>\n<td>6011 1111 1111 1117<\/td>\n<td>Discover<\/td>\n<td>US<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<tr>\n<td>5111 1200 3000 8958<\/td>\n<td>Mastercard<\/td>\n<td>NL<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The following test card has <a href=\"https:\/\/www.visa.co.uk\/content\/dam\/VCOM\/regional\/ve\/unitedkingdom\/PDF\/sca\/strong-customer-authentication-out-of-scope-and-exempt-transactions.pdf\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">TRA exemption<\/a>. In your payment request, include <code>threeDSRequestorChallengeInd<\/code>: <strong>\"05\"<\/strong>.<\/p>\n<table>\n<thead>\n<tr>\n<th>Card Number<\/th>\n<th>Card Type<\/th>\n<th>Issuing Country\/region<\/th>\n<th>Expiry Date<\/th>\n<th>CVC<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>3714 4963 5398 431<\/td>\n<td>Commercial Debit<\/td>\n<td>RU<\/td>\n<td>03\/2030<\/td>\n<td>737<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"see-also\">See also<\/h2>\n<div class=\"see-also-links output-inline\" id=\"see-also\">\n<ul><li><a href=\"\/development-resources\/webhooks\"\n                        target=\"_self\"\n                        >\n                    Webhooks\n                <\/a><\/li><li><a href=\"\/reporting\/monitor-donations\"\n                        target=\"_self\"\n                        >\n                    Monitor donations\n                <\/a><\/li><\/ul><\/div>\n","url":"https:\/\/docs.adyen.com\/pt\/online-payments\/donations\/testing","articleFields":{"description":"Learn how to test your Giving integration before going live.","feedback_component":true,"filters_component":false,"page_id":"75e5c0b4-63d3-4d89-96ac-cb83353a6546","last_edit_on":"21-09-2023 13:20","decision_tree":"[]"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/online-payments\/donations\/testing","title":"Test your Giving integration","content":"Before you go live with donations, test your integration to make sure that your nonprofit receives the donations from your shoppers. We recommend to test your integration in the test environment, and live environment. In each environment, test the following:\n\nCreating and activating a donation campaign.\nMaking a donation.\nGetting the donation outcome in the Adyen Giving merchant webhook.\n\nTest environment\nCreate and activate a test donation campaign\n\nIn your test Customer Area, go to Giving &gt; Campaigns.\nCreate a test campaign using one of our demo nonprofits.\nSelect Start campaign for the campaign you configured to:\n\nActivate the campaign.\nStart receiving the donationToken in the  \/payments or  \/payments\/details responses.\n\n\nMake a test donation\n\nTo test donations using iDEAL, contact our Support Team for additional configuration.\n\nAfter you have started a campaign, verify that the  \/payments or  \/payments\/details response contains a donationToken.\nWhen you make a  \/donationCampaigns request, verify that the details returned in the response are correct.\nUsing your integration, make test donations using our test cards.\nGet the test donation outcome\nFor each test donation that you make, verify that you get a DONATION webhook.\nLive environment\nCreate and activate a live donation campaign\n\nIn your Live Customer Area, go to Giving &gt; Campaigns.\n\nIf you do not see Giving section in your Customer Area, reach out to your Adyen contact or our Support Team.\n\nCreate a campaign for your nonprofit.\nSelect Start campaign for the campaign you configured to:\n\nActivate the campaign.\nStart receiving the donationToken in the  \/payments or  \/payments\/details responses.\n\n\nEnable the webhook for the live environment\nIn your live Customer Area, enable the Adyen Giving merchant webhook.\nMake donations for your live campaign\nAfter you have started a campaign, verify that the  \/payments or  \/payments\/details response contains a donationToken.\nWhen you make a  \/donationCampaigns request, verify that the details returned in the response are correct.\nUsing your integration, make a donation to your nonprofit.\nGet the donation outcome\nYou can verify the outcome of the donation by either:\n\nGetting the DONATION webhook for your donation.\nFinding the donation in a Giving report or dashboard.\n\nTroubleshooting\nIf an issue occurs with your test donation requests, you can find more details in the API logs.\nTest cards for donations\nYou can use the test card details below to make test donations.\n\n\n\nCard Number\nCard Type\nIssuing Country\/region\nExpiry Date\nCVC\n\n\n\n\n3700 0000 0000 002\nAmerican Express\nNL\n03\/2030\n7373\n\n\n3700 0000 0100 018\nAmerican Express\nNL\n03\/2030\n7373\n\n\n5555 3412 4444 1115\nMastercard Consumer\nNL\n03\/2030\n737\n\n\n5201 2820 5004 2993\nMastercard\nRU\n03\/2030\n737\n\n\n5454 5464 9832 4682\nMastercard\nPL\n03\/2030\n737\n\n\n2223 5204 4356 0010\nMastercard Debit\nNL\n03\/2030\n737\n\n\n5103 2219 1119 9245\nMastercard Prepaid\nBR\n03\/2030\n737\n\n\n3569 9900 1009 5841\nJCB\nUS\n03\/2030\n737\n\n\n6011 6011 6011 6611\nDiscover\nUS\n03\/2030\n737\n\n\n6445 6445 6445 6445\nDiscover\nGB\n03\/2030\n737\n\n\n6445 6445 6445 6445\nCarte Bancaire\nFR\n03\/2030\n737\n\n\n4871 0499 9999 9910\nBancontact\nBE\n03\/2030\n737\n\n\n\nThe following test card doesn't require the CVC when entering the card details. You must use this card to test Visa payments.\n\n\n\nCard Number\nCard Type\nIssuing Country\/region\nExpiry Date\nCVC\n\n\n\n\n4111 1111 4555 1142\nVisa\nNL\n03\/2030\n737\n\n\n\nTest 3D Secure 2 authentication with donations\nThe following test cards are enrolled in 3D Secure 2.\n\n\n\nCard Number\nCard Type\nIssuing Country\/region\nExpiry Date\nCVC\n\n\n\n\n3714 4963 5398 431\nAmerican Express\nUS\n03\/2030\n7373\n\n\n6011 1111 1111 1117\nDiscover\nUS\n03\/2030\n737\n\n\n5111 1200 3000 8958\nMastercard\nNL\n03\/2030\n737\n\n\n\nThe following test card has TRA exemption. In your payment request, include threeDSRequestorChallengeInd: \"05\".\n\n\n\nCard Number\nCard Type\nIssuing Country\/region\nExpiry Date\nCVC\n\n\n\n\n3714 4963 5398 431\nCommercial Debit\nRU\n03\/2030\n737\n\n\n\nSee also\n\n\n                    Webhooks\n                \n                    Monitor donations\n                \n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Online payments","lvl2":"Donations using Giving","lvl3":"Test your Giving integration"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/online-payments","lvl2":"https:\/\/docs.adyen.com\/pt\/online-payments\/donations","lvl3":"\/pt\/online-payments\/donations\/testing"},"levels":4,"category":"Online Payments","category_color":"green","tags":["Giving","integration"]}}
