> ## Documentation Index
> Fetch the complete documentation index at: https://developer.novacpayment.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing

> Use Novac test credentials to simulate payment flows before going live.

## Overview

Novac provides test credentials that allow you to simulate different payment scenarios while integrating with the gateway.\
These credentials help you test successful payments, failed transactions, and OTP validation before switching to the live environment.

## Test Cards

Use this card to simulate successful or failed transactions . Make sure you set a valid future date for the expiryMonth and expiryYear.

<Columns cols={2}>
  <Card title="Successful Test Card" icon="credit-card" type="tip">
    **Card Number:** `5555555555554444`\
    **Expiry:** `12/30`\
    **CVC:** `123`

    **Card Pin:** `1234`
  </Card>

  <Card title="Failed Test Card" icon="credit-card" type="danger">
    **Card Number:** `1234567898765432`\
    **Expiry:** `12/30`\
    **CVC:** `455`

    **Card Pin:** `567`
  </Card>
</Columns>

The successful test card simulates a typical debit/credit card that will result in a “successful” payment response, while the failed test card forces a transaction failure (e.g., insufficient funds, declined transaction).
Expected Gateway Response: Payment declined or failure.

## OTP Validation

Use this OTP to simulate additional verification (3-D Secure or other form of 2FA).

```json theme={null}
{
  "otp": "Any 6 digits (e.g., 123456)"
}
```

When to Use: After initiating a payment with a card and additional verification is requested.
Expected Gateway Response: OTP verified or OTP error if incorrect.
