# Testing

{% hint style="warning" %}
**Test cards are meant only for Test/Sandbox environment.**\
\&#xNAN;*You should not use test cards for Production/Live environment.*\
*Using test cards on Production/Live environment might result in temporary ban.*
{% endhint %}

{% hint style="warning" %}
**Avoid Using Fake or Placeholder Data Like** `test.com` **or** `Test`\
Your transaction may be matched against existing or blacklisted data, and there's a high chance that generic "test" data has already been flagged or used by other merchants.
{% endhint %}

For each Merchant account, the Merchant will be issued login credentials and URL for the Merchant Back Office on a TEST server. All necessary API documentation and connection information will be located there. The TEST server has the following features to assist in integration:

{% hint style="info" %}
**Good to know:** All the methods shown below are to emulate test results
{% endhint %}

| CVV Range | Behavior                                             |
| --------- | ---------------------------------------------------- |
| 001–249   | Non-enrolled card – Transaction approved             |
| 250–499   | Enrolled card (3D Secure) – Approved after ACS auth  |
| 500       | Simulate transaction error                           |
| 501–749   | Non-enrolled card – Transaction declined             |
| 750–799   | Enrolled card (3D Secure) – Declined even after auth |

## Test Cards

<table><thead><tr><th width="214">Card Number</th><th width="166">Card Type</th><th width="124">Expiry Date</th><th width="75">CVV</th><th>Additional Info</th></tr></thead><tbody><tr><td>4242424242424242</td><td>Visa</td><td>12/30</td><td>123</td><td>Classic Visa test card</td></tr><tr><td>5454545454545454</td><td>MasterCard</td><td>12/30</td><td>123</td><td>Classic MasterCard test</td></tr><tr><td>4111111111111111</td><td>Visa</td><td>12/30</td><td>123</td><td>General Visa test card</td></tr><tr><td>6011000000000004</td><td>Discover</td><td>12/30</td><td>123</td><td>Discover test card</td></tr><tr><td>378282246310005</td><td>American Express</td><td>12/30</td><td>1234</td><td>AMEX test card</td></tr><tr><td>3530111333300000</td><td>JCB</td><td>12/30</td><td>123</td><td>JCB test card</td></tr><tr><td>30569309025904</td><td>Diners Club</td><td>12/30</td><td>123</td><td>Diners Club test card</td></tr><tr><td>38520000023237</td><td>Carte Blanche</td><td>12/30</td><td>123</td><td>Carte Blanche test card</td></tr><tr><td>6011601160116611</td><td>Discover</td><td>12/30</td><td>123</td><td>Another Discover test card</td></tr><tr><td>3566111111111113</td><td>JCB</td><td>12/30</td><td>123</td><td>Another JCB test card</td></tr></tbody></table>

#### Usage Instructions

You can use the card numbers provided above for testing purposes in your development and staging environments. These card numbers will allow you to simulate various payment scenarios without processing real transactions.

For additional valid testing card numbers, you can visit sources like [GetCreditCardNumbers](https://www.getcreditcardnumbers.com/). This website provides a variety of test card numbers that you can use to verify the functionality of your payment processing system.

By using these testing cards, you can ensure that your payment gateway integration works correctly before going live with real transactions.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.convergegate.com/legacy/card-server-to-server/overview/testing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
