It is important that you ensure a complete integration into Adyen by testing result codes.
If you're not able to submit additionalData for testing, you can use the card
holderName field instead.
Use the card holder name to test:
Test payment result
Make a /payments request, and when providing card information, pass the
holderName with the following data:
- a Response from the list of Adyen response codes. Capitalize all letters of the response code and replace spaces with
not enough balancebecomes
- a Scheme Response code and Refusal reason raw String.
For this value, use the format:
[Adyen Response code] : [Scheme Response code and Refusal reason raw String]
You may need to lower the risk score value to take into account non-alphabetic characters in the cardholder name like a colon (":"). This and other non-alphabetical characters trigger the risk check, which may cause the payment to be declined with a
FRAUD reason code.
The following example shows how you test a "Declined" payment result due to an "Error", using the
DECLINED : 06 : ERROR
holderNamefield value cannot be longer than 80 characters max.
- If you specify an incorrect CVC or an invalid expiry date, the payment fails and the operation returns a generic
Test chargeback reason codes
You can simulate a chargeback using the card
holderName. Refer to test disputes for more information.