Test a page or flow

Test credit card numbers: where to find them

You need a card that pays in a store that is not live yet, but each provider publishes its own numbers and they fail in the wrong mode. Here is where to look and how to tell why one was declined.

5 visitors try to .
First test free with an accountRun it from your coding agent

Where do I find test credit card numbers for checkout?

Your payment provider publishes them on a testing page in its developer documentation, and they only work when the store is in test mode with the provider's test keys. A real card never belongs in a test, and a number from one provider is usually declined by another. If a test card is declined, check the mode and the keys first, then the number's own purpose, because some numbers are made to fail. A simulated test walks the same store up to the payment step and shows what each visitor saw there.

What this looks like in a report

Who
Katarzyna, buying a gift scarf for her sister
How they arrived
Followed a link from a newsletter to the scarf page
Where they stopped
Payment step, after the card is refused

“It says my card was declined with no reason. I do not know if I mistyped it or if the shop is broken. I have used this card an hour ago somewhere else, so I will try another shop.”

The fix. Show a clear refusal message that says what to do next, such as checking the number or trying another card. Test a card made to fail and confirm the message appears and the cart is still full.

An illustration. Run a test to see your own.See a real sample report

A test card that works in one store is declined in the next

The numbers look like any card, so people copy one from a forum and wonder why checkout says declined. The cause is almost never the number. A test number is accepted only by the provider that made it, and only while the store uses that provider's test keys. Put a test number into a live store and the real card network refuses it. Put a real card into a test store and the provider may refuse that too. The shopper never sees any of this. They see a red message, and they leave.

  • Open the store's payment settings and confirm it is in test mode, with test keys, before you type any number.
  • Take the numbers from your own provider's testing page, not from a post that may be about another provider.
  • Use a card made to fail once, to see what message a shopper gets when payment is refused.
  • Use any future expiry date and any security code the testing page allows, then read the order status afterward.
  • Never type a real card into a staging store, even to see if it works.

Each provider publishes its own list, and they do not cross over

Payment providers keep a testing page in their developer documentation, with numbers for the common card brands and a few for special cases. Stripe, Square and Braintree each have one. The numbers are not interchangeable, so copying one from a tutorial about a different provider fails even when everything else is right. Open the documentation of the provider your store uses, find the page about testing, and take the numbers from there. This page does not print them, because they change and a stale number sends you hunting for a bug that does not exist.

Test mode is a switch in two places

A store is in test mode only when the provider account and the store's own settings agree. The provider has test keys and live keys. The store holds one set. If the live keys are in place, a test number is treated as a real card and refused. If the test keys are in place on the live site, real shoppers are refused instead, and no money moves. Before you test, read which key the store is using. After you test, read it again, because a forgotten test key on the live site looks like a dead checkout.

Numbers made to fail are part of the test

Providers list numbers that are meant to be refused, for example for a declined card, an expired card or a wrong security code. Use one on purpose. The shopper who mistypes a digit sees whatever message your store shows, and that message decides whether they try again. Check that it names the problem, keeps the cart and leaves the form filled in. Also try the number that asks for extra bank approval, if your provider lists one, because that step opens a window that some stores cover or block.

Where a visitor stops at payment, and where you take over

Mimiq visitors walk your store as strangers: they pick a product, fill in the address, choose delivery and arrive at the payment step. They cannot pay with a real card, so the test stops there. The report shows whether the card box appeared, whether a field was cut off or covered on a phone, and what the page said at that step, with a screenshot. You then enter a test card yourself and watch the order go through. Splitting the work this way keeps real card data out of every tool.

What you get with Mimiq

  1. 01

    Run it by hand, or on every pull request

    Paste a link and a task in the app and watch the visitors work. Or run them on every preview deploy: the GitHub Action comments on the pull request, any other CI can call the MCP endpoint, and your coding agent can run it too.

  2. 02

    Bugs and usability problems in one report

    The browser records errors and failed or slow requests on the step they happened. The visitors say where the wording or the steps confused them, and where they left.

  3. 03

    Visitors that behave like your audience

    Each visitor is a different profile with a reason to be there, matched to who the page is for, described by you, or built from your own customers.

  4. 04

    A prompt to fix each problem

    Every problem comes with a fix to paste into Cursor, Claude Code, Lovable or any coding agent, and one prompt hands over the top problems at once. Then send the same visitors through again.

  5. 05

    Follow every visitor

    See each visitor's whole path, step by step with screenshots, and what it was thinking at every step. Ask any visitor a question.

The browser records relevant JavaScript errors and failed or slow app requests encountered during the run, attached to the step where they occurred. The visitors are simulated: they find problems, they do not predict how many real people will convert.

A key change can leave test keys on the live store

Moving a store from test to live, rotating a key or restoring a backup can leave the wrong set of keys in place. Run the same visitors up to the payment step after each of those changes and compare the payment screen with your last run. A card box that vanished or a refusal that appeared shows up before a real shopper meets it.

Starter

Try it on one launch

$9 once
120 credits, never expire

24 visitors, about 4 tests of 5

  • Visitors on your landing page, signup and checkout
  • Where they left and why, with a fix to copy for each problem
  • Run it in the app or on every pull request
  • Ask any visitor a question, included
  • Test accounts and protected previews
Buy 120 credits

Builder

Test every build

$19 a month
500 credits every month

100 visitors, about 20 tests of 5

  • Everything in Starter
  • Credits refill each month, and what is left rolls over once
  • Cancel anytime
Choose Builder

Pro

Test every release, as a team

$49 a month
1,500 credits every month

300 visitors, about 60 tests of 5

  • Everything in Starter
  • Credits refill each month, and what is left rolls over once
  • Cancel anytime
Choose Pro

Scale

Test at scale, every day

$149 a month
6,000 credits every month

1,200 visitors, about 240 tests of 5

  • Everything in Starter
  • Credits refill each month, and what is left rolls over once
  • Priority support
  • Cancel anytime
Choose Scale
$0for your first test, with a free account (Google or email, no card). It includes 50 credits, enough for 10 visitors. After that a visitor uses 5 credits, and packs start at $9 for 120 credits.
See a sample report

Questions

Can I use a real card to test my checkout?

Do not. Real card numbers do not belong in a test store, a chat or a script. Use the provider's test numbers in test mode. A real card in a store that is in test mode may be refused, and one in live mode makes a real charge.

Why does my test card say declined?

Most often the store is in live mode, the keys do not match the provider, or the number came from a different provider. Less often the number is one of the ones made to fail. Check the mode, then the keys, then the number's purpose on the testing page.

Can a Mimiq visitor pay with a test card?

No. Visitors do not pay with any card, real or test. The run stops at the payment step and reports what that step showed. You complete the payment yourself with a test number to check the order, the email and the stock count.

Do test numbers work for every payment method?

No. They cover cards. Wallets, bank transfers and installment options have their own sandboxes or test accounts, which the provider describes in its documentation. Check each method you offer in its own way.

Does a test tell me how many shoppers will complete payment?

No. It does not predict conversion. It shows where a stranger stopped on the way to payment and what the payment step looked like. Completion rates come from your payment provider's dashboard and your analytics.

Keep reading

Send visitors and see what breaks first.

Your first test is free: sign in with Google or email and it starts right away. Last checked 2026-12-03.

5 visitors try to .