---
title: "Testing your online payments integration"
description: "Troubleshoot issues with your online payment integration before it goes live."
url: "https://docs.adyen.com/development-resources/testing"
source_url: "https://docs.adyen.com/development-resources/testing.md"
canonical: "https://docs.adyen.com/development-resources/testing"
last_modified: "2023-11-23T09:56:00+01:00"
language: "en"
---

# Testing your online payments integration

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

[View source](/development-resources/testing.md)

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](/online-payments/build-your-integration/) for accepting online payments.
4. Set up your [webhook server](/development-resources/webhooks). 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](/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.

[![](/user/pages/docs/13.development-resources/07.testing/cash-back.svg?decoding=auto\&fetchpriority=auto)](/development-resources/testing/payments-and-modifications)

[**Payments and modifications**](/development-resources/testing/payments-and-modifications)

[Make payments and modify payments after they are completed.](/development-resources/testing/payments-and-modifications)

[![](/user/pages/docs/13.development-resources/07.testing/account-updater.svg?decoding=auto\&fetchpriority=auto)](/development-resources/testing/tokenization)

[**Tokenization**](/development-resources/testing/tokenization)

[Store payment methods for your shoppers.](/development-resources/testing/tokenization)

[![](/user/pages/docs/13.development-resources/07.testing/risk-danger.svg?decoding=auto\&fetchpriority=auto)](/development-resources/testing/risk-features)

[**Risk features**](/development-resources/testing/risk-features)

[Use Adyen's risk features to protect and improve your integration.](/development-resources/testing/risk-features)

[![](/user/pages/docs/13.development-resources/07.testing/credit-card-lock.svg?decoding=auto\&fetchpriority=auto)](/development-resources/testing/3d-secure-2-authentication)

[**3D Secure 2 authentication**](/development-resources/testing/3d-secure-2-authentication)

[Handle card transactions that require 3D Secure 2 authentication.](/development-resources/testing/3d-secure-2-authentication)

[![](/user/pages/docs/13.development-resources/07.testing/webhooks.svg?decoding=auto\&fetchpriority=auto)](/development-resources/testing/result-codes)

[**Result codes**](/development-resources/testing/result-codes)

[Get the result codes and handle them with your integration.](/development-resources/testing/result-codes)

## See also

* [Test cards and credentials](/development-resources/test-cards-and-credentials)
