By platform

Shopify gift card code not working: causes

A customer types the code from a gift card and the box says invalid, or nothing happens at all. Simulated visitors enter a test code and show whether the box, the message or the card is the cause.

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

Why is my Shopify gift card code not working at checkout?

A gift card code fails for a few plain reasons: it was typed wrong, the card is disabled or already used up, it belongs to another store, or it was entered in a box that does not accept it. Read the message the box gives, if there is one. An invalid message points at the code or the card, and a box that does nothing points at the field. A simulated test enters a test gift card you issued and reports the message and the step where the code was refused.

What this looks like in a report

Who
Alberto, using a gift card from his sister
How they arrived
Opened the store from a link in a birthday email
Where they stopped
Checkout, after typing the gift card code

“The box said the code is invalid. I checked the card and I could not tell whether it was my typing or the card. I did not want to guess, so I paid the full price on my card.”

The fix. Show the reason a code was refused in plain words, such as not found or expired, and say which box takes gift cards. Enter a gift card you issued for the test with a typo and then correctly, and confirm the two messages differ.

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

The box says invalid, and the card in the email is correct

A customer has a card from a friend, or one from the store's own email, and copies the code into the box at checkout. The box rejects it, or it shows no message at all. The customer checks the card, sees the same letters, and assumes the store is broken. Often the letters differ in one place: a zero typed for an O, a space at the end, or a code from another store. The customer cannot tell a typing mistake from a dead card, so they either retype the same code or leave.

  • Type the code exactly as printed, with a zero or an O as the card shows it. Is it accepted?
  • Does the box show a message after you press apply, or does nothing change?
  • Was the card issued by this store? A card from another store is refused.
  • Is the card still active, with a balance left, in the store admin?
  • Try the code in the discount box on the cart and in the box at checkout. Which one accepts it?

A gift card is a balance, and a discount is a rule

A discount code changes the price by a rule the store wrote. A gift card holds a balance that drops as it is spent, so it can fail for reasons a discount never has: the card was used up, the store disabled it, or it belongs to a different store. A buyer often holds both kinds of code and cannot tell which one a box expects. A message that only says invalid hides that difference, so the buyer keeps retyping the same code. A message that names the reason tells the buyer whether to check the letters, check the balance or call the store.

Four causes, and the first two are typing and the box

The first cause is the characters. A zero and a capital O look alike on a printed card, and a copied code can carry a trailing space. The second is the box. The buyer may have typed the code into a field that does not handle gift cards, so the refusal looks like a dead card. The third is the card's state: a disabled or used up card returns a refusal even when the letters are right. The fourth is the store. A card issued by another store cannot be spent here. Work through them in that order before you suspect checkout, because the first two cost a buyer nothing to check.

A test card tells you about the box, not the balance

The simulated visitor can type a test gift card code into the box at checkout and report the message, the field it used and the step where the code was refused, with a screenshot. It cannot know the card's real balance or whether the card was issued correctly, so check that in your store admin. Use a gift card you issued for the test. Do not use a customer's code in a test task, since a screenshot can show it. The run stops at the payment step, and it does not pay.

Mimiq is independent and not affiliated with the platforms it names. Names belong to their owners.

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 disabled card or a new box layout can refuse codes again

A card that expires, a batch the store disables, or a checkout layout that moves the gift card box can refuse codes that worked last month. Test with a gift card you issued after each of those changes, on a laptop and on a phone, and read the message each time. A refusal that names the reason is easier to fix than one that says invalid for every card.

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

Why does the box say invalid for a card that is correct?

The letters may differ from the card in one place, such as a zero for an O or a trailing space. A card can also be disabled, used up or issued by another store. Check the characters first, then the balance in the store admin. A simulated visitor shows the message it got, not the reason behind it.

Can I test with a real customer's gift card?

No. Use a gift card you issued for the test, and keep its code out of the task text where possible. Screenshots from a run can show what was typed, so a customer's code should never reach a test.

Does the test check the card's balance?

No. It shows the message the box gave and the total on the page, with a screenshot. It does not read the balance on the card. Check the balance in the store admin.

Does the test show how many gift cards buyers will use?

No. It does not predict conversion or give a rate. It shows whether a test card was accepted at the box, with a screenshot of the step where a refusal stopped the visit.

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 .