# Test your Coda integration

> Understand how to verify your Coda payment provider integration with logs, test cards, and sandbox tools.

To verify your Coda payment provider integration, you can use test cards and Coda's sandbox environment to validate your purchase flow. Use Unity Dashboard logs to debug your integration and confirm that your system processes payments and entitlements correctly.

## Prerequisites

Before testing your Coda integration, complete the steps in the [Integrate Direct to Consumer (D2C) payment providers with IAP workflow](./_index.md).

## Unity Dashboard logs

In the Unity Dashboard, navigate to **In-App Purchases** > **Payment Providers** > **Logs** to view logs for payment provider actions. For more information, refer to the [Logging](/cloud-code/logging/overview.md) documentation.

## Coda Portal

You can use the [Coda Portal](https://portal.coda.co/signup) to access test cards and other tools to test purchases in a sandbox environment.

Coda provides test cards, mobile numbers, and wallet accounts for sandbox testing. For detailed instructions, refer to Coda's [Payment channel testing instructions](https://docs.coda.co/codapay/integration-guides/testing-guide/payment-channel-testing-instructions).

To confirm that test purchases are successful, validate the following information:

* The Remote Catalog is deployed and fetched at runtime.
* A purchase opens the Coda Checkout URL and completes.
* The purchase fulfillment webhook receives `order.paid` events and grants entitlements.
* The client refreshes entitlements and content appears.

> **Note:**
>
> You can also use Coda test cards to simulate different errors.

### Sandbox testing

If you have an Admin or Tech role in Coda, you can use Coda's Sandbox Testing feature to generate a payment page and simulate payments. For more information, refer to Coda's [Sandbox testing guide](https://docs.coda.co/codapay/integration-guides/testing-guide/sandbox-testing-guide).
