Test your integration before you go live to ensure that your nonprofit receives donations from your shoppers.
Test environment
Step 1: Enable Giving in your Customer Area
You must have the Merchant admin user role.
- In your test Customer Area, go to Settings > Account settings.
- Under Giving, select the Online donations toggle to enable it.
Step 2: Make test donations
To test donations using iDeal, contact our Support Team for additional configuration.
Using your integration, make test donations with the following details:
- donationAccount : MyCharity_Giving_TEST.
- Our test cards.
Step 3: Get webhooks for your test donations
For each test donation that you make, verify that you get a DONATION webhook that you must enable.
Test cards
Card Number | Card Type | Issuing Country | Expiry Date | CVC |
---|---|---|---|---|
3700 0000 0000 002 | American Express | NL | 03/2030 | 7373 |
3700 0000 0100 018 | American Express | NL | 03/2030 | 7373 |
5555 3412 4444 1115 | Mastercard Consumer | NL | 03/2030 | 737 |
5201 2820 5004 2993 | Mastercard | RU | 03/2030 | 737 |
5454 5464 9832 4682 | Mastercard | PL | 03/2030 | 737 |
2223 5204 4356 0010 | Mastercard Debit | NL | 03/2030 | 737 |
5103 2219 1119 9245 | Mastercard Prepaid | BR | 03/2030 | 737 |
3569 9900 1009 5841 | JCB | US | 03/2030 | 737 |
6011 6011 6011 6611 | Discover | US | 03/2030 | 737 |
6445 6445 6445 6445 | Discover | GB | 03/2030 | 737 |
6445 6445 6445 6445 | Carte Bancaire | FR | 03/2030 | 737 |
4871 0499 9999 9910 | Bancontact | BE | 03/2030 | 737 |
The following test card doesn't require the CVC when entering the card details.
Card Number | Card Type | Issuing Country | Expiry Date | CVC |
---|---|---|---|---|
4111 1111 4555 1142 | Visa | NL | 03/2030 | 737 |
Test 3D Secure 2 authentication with donations
The following test cards are enrolled in 3D Secure 2.
Card Number | Card Type | Issuing Country | Expiry Date | CVC |
---|---|---|---|---|
3714 4963 5398 431 | American Express | US | 03/2030 | 7373 |
6011 1111 1111 1117 | Discover | US | 03/2030 | 737 |
5111 1200 3000 8958 | Mastercard | NL | 03/2030 | 737 |
The following test card has TRA exemption. In your payment request, include threeDSRequestorChallengeInd
: "05".
Card Number | Card Type | Issuing Country | Expiry Date | CVC |
---|---|---|---|---|
3714 4963 5398 431 | Commercial Debit | RU | 03/2030 | 737 |
Live environment
Step 1: Enable the donation token in your API response
Contact your Adyen Account Manager or our Support Team to enable getting donationToken
in the /payments and /payments/details responses.
Step 2: Enable the webhook for the live environment
In your live Customer Area, enable the Adyen Giving merchant webhook.
Step 3: Make a live donation to your nonprofit
If you chose a nonprofit that isn't one our one of our pre-approved nonprofits, confirm that they completed the Giving onboarding process by contacting your Adyen Account Manager or our Support Team.
Using your integration, make a donation to your nonprofit. Use their donationAccount
in your donation request.
Step 4: Get the donation outcome
You can verify the outcome of the donation by either:
- Getting the DONATION webhook for your donation.
- Finding the donation in a Giving report or dashboard.
Troubleshooting
If an issue occurs with your test donation requests, you can find more details in the API logs.