> ## Documentation Index
> Fetch the complete documentation index at: https://adyen-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing Your Online Payments Integration

> Troubleshoot issues with your online payment integration before it goes live.

We recommend testing your full integration, including the client-side and server-side parts, in your test environment before accepting live payments.

## Requirements

1. From your [test Customer Area](https://ca-test.adyen.com/), get your test API key and test client key.
2. Configure your test Customer Area with all the functionality you will support when you go live.
3. [Build an integration](https://adyen-preview.mintlify.site/online-payments/build-your-integration) for accepting online payments.
4. Set up your [webhook server](https://adyen-preview.mintlify.site/development-resources/webhooks.md). Getting test webhooks is an important part of making sure that your integration can handle many scenarios.

## Test your integration

Test the different types of transactions with Adyen that your integration handles using [test credentials](https://adyen-preview.mintlify.site/development-resources/test-cards-and-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.

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.

> [card] [**Payments and modifications**](https://adyen-preview.mintlify.site/development-resources/testing/payments-and-modifications.md)
>
> Make payments and modify payments after they are completed.

> [card] [**Tokenization**](https://adyen-preview.mintlify.site/development-resources/testing/tokenization.md)
>
> Store payment methods for your shoppers.

> [card] [**Risk features**](https://adyen-preview.mintlify.site/development-resources/testing/risk-features.md)
>
> Use Adyen's risk features to protect and improve your integration.

> [card] [**3D Secure 2 authentication**](https://adyen-preview.mintlify.site/development-resources/testing/3d-secure-2-authentication.md)
>
> Handle card transactions that require 3D Secure 2 authentication.

> [card] [**Result codes**](https://adyen-preview.mintlify.site/development-resources/testing/result-codes)
>
> Get the result codes and handle them with your integration.

## See also

* [Test cards and credentials](https://adyen-preview.mintlify.site/development-resources/test-cards-and-credentials)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.