# Opayo (v3 legacy) test cards

> Test card numbers and other details for Opayo's sandbox, and the result each one gives.

Web page: https://docs.shuttleglobal.com/payment-providers/opayo-v3-legacy-test-cards/

Use these details to try payments in an Opayo sandbox (test) account. They work only in the sandbox: never use them in live, and never put real card or bank details into a sandbox.

The Opayo (v3 legacy) connection uses Opayo's older Direct protocol, which runs in the same Opayo sandbox as the current [Opayo](/payment-providers/opayo-test-cards/) connection, so the test details are the same. Opayo only runs 3D Secure, address and CVC checks when they're switched on for the sandbox account.

> **Note: Where these details come from**
>
> These are Opayo's test details, not ours. They were copied from Opayo's [Opayo Direct Testing](https://developer.elavon.com/products/en-uk/opayo-direct/v1/testing) and [Test in Sandbox](https://developer.elavon.com/products/en-uk/opayo/v1/test-in-sandbox) pages on 19 October 2026, and were correct on that date as far as those pages show. Opayo can change or withdraw them at any time, and we can't confirm that they work. Check Opayo's pages for the current details, and ask Opayo if one doesn't behave as described.

## How to choose a test result

- Switch on **Sandbox** in the Opayo (v3 legacy) connection here, so payments go to Opayo's sandbox.
- The card number sets whether the payment is approved: Opayo approves its listed test cards and declines any other number ([Opayo Direct Testing](https://developer.elavon.com/products/en-uk/opayo-direct/v1/testing)).
- The name on the card sets the 3D Secure result ([Opayo Direct Testing](https://developer.elavon.com/products/en-uk/opayo-direct/v1/testing)). The checkout has no separate name-on-card field: we send Opayo the customer's first and last name together, so enter the value as the customer's first name and leave the last name empty. If both are filled in, Opayo receives both and the trigger won't match.
- This connection only handles Opayo's older 3D Secure 1 challenge and doesn't send the browser details 3D Secure 2 needs. Opayo's `CHALLENGE` name starts a 3D Secure 2 challenge, so it can't be completed through this connection, and we haven't tested the other names with it. Phone (MOTO) payments are sent without 3D Secure.
- The checkout always asks for the billing address with this connection. Whenever a billing country is entered, we tell Opayo to run the address and CVC checks and apply the account's rules (not on saved cards). Enter `88` as billing address line 1 and `412` as the postcode for the checks to match ([Opayo Direct Testing](https://developer.elavon.com/products/en-uk/opayo-direct/v1/testing)).
- Enter the amount as normal, for example `100.00`: Opayo has no amount triggers for cards.

## Cards

Use any expiry date and the CVC `123` (`1234` for American Express).

### Successful payments

| Card | Number | Notes |
| --- | --- | --- |
| Visa | `4929 0000 0000 6` | |
| Visa Debit | `4462 0000 0000 0003` | |
| Mastercard | `5186 1506 6000 0009` | |
| Debit Mastercard | `5185 6900 6000 0001` | |
| Maestro | `6759 0000 0000 5` | UK issued |
| American Express | `3742 000000 00004` | CVC `1234` |
| Diners Club / Discover | `3600 0000 0000 08` | |

Opayo lists more cards on its [Opayo Direct Testing](https://developer.elavon.com/products/en-uk/opayo-direct/v1/testing) page.

### Declines and errors

| Number or trigger | Result |
| --- | --- |
| `4929 6021 1008 5639` (Visa, CVC `123`) | Declined by the bank |
| `5403 8149 4860 8092` (Mastercard, CVC `123`) | Declined by the bank |
| Any card number not listed by Opayo | Declined |

The two "declined by the bank" cards are listed on Opayo's Test in Sandbox page, not its Opayo Direct page.

### 3D Secure

The name on the card sets the 3D Secure result. Use one of the cards above, and enter one of these as the customer's first name, with the last name left empty. Through this connection, `CHALLENGE` can't be completed (see [How to choose a test result](#how-to-choose-a-test-result)).

| Name on card | Result |
| --- | --- |
| `SUCCESSFUL` | Frictionless: authenticated |
| `CHALLENGE` | Challenge: enter `challenge` as the password to authenticate. Any other password fails |
| `NOTAUTH` | Frictionless: not authenticated |
| `PROOFATTEMPT` | Authentication attempted but not completed: treated as authenticated |
| `NOTENROLLED` | Authentication couldn't be performed |
| `REJECT` | Authentication rejected by the issuer |
| `TECHDIFFICULTIES` | Authentication couldn't be completed |
| `ERROR` | Authentication error |

### Address and CVC checks

| Value | Result |
| --- | --- |
| Billing address line 1 `88` and postcode `412` | Address checks pass |
| Any other billing address line 1 or postcode | Address and CVC checks return "not matched". Opayo says the payment is still approved, unless the account's rules reject it: we ask Opayo to apply them |
| CVC `123` (`1234` for American Express) | CVC check passes |