Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Gift card field not working at checkout: how to find and fix it

CNV-174Low impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A gift card field is the box at checkout where a customer types a code to pay part or all of an order with stored credit. It is often separate from the discount code box. It is broken when it does not appear, when the Apply button does nothing, when a valid code is rejected, or when the balance is accepted but the order total does not change.

Why it costs you leads or sales

People who pay with a gift card have already decided to buy. If the code will not apply, many leave, and some write to support or ask for a refund. The impact is usually lower than a broken main checkout because only a share of orders use gift cards. It rises sharply around holidays, when gift card redemption peaks.

Orders completed by gift card customersExample numbers
Orders completed by gift card customers (example)Field works: 85 %; Field broken: 20 %033658520Field worksField broken%

Example: illustrative share of gift card holders who finish checkout when the field works versus when it is broken.

Where a gift card purchase breaks
  1. Add to cartCustomer adds items
  2. CheckoutCustomer reaches payment page
  3. Enter gift card codeCode rejected or field does nothing
  4. Balance appliedTotal never reduced
  5. Order confirmedPurchase abandoned

The customer cannot get past the gift card step, so payment and confirmation never happen.

How to check if your site has it

You need a real gift card with a small balance. Create one in your store, or ask your gift card app for a test code. Then go through checkout the way a customer would.

Gift card test routine
  • Add a product to the cart on desktop and on a phone.
  • Open checkout and confirm the gift card box is visible.
  • Enter a valid code and press Apply (or Enter).
  • Check the order total drops by the card balance, or to zero.
  • Try a code with a typo and confirm a clear error appears.
  • Try a partly used card and a card larger than the order.
  • Test as a guest and as a logged-in customer.
  • Open the browser console (F12, Console tab) and look for red errors when you press Apply.
  • Complete the order and check the card balance was reduced afterwards.

How to fix it

Start by finding which symptom you have, then follow the matching platform steps.

Symptoms and likely causes
SymptomLikely causeFirst thing to try
Box not shownGift cards disabled, or theme or checkout customisation hides itCheck gift card settings and switch to the default theme or checkout to compare
Apply does nothingJavaScript error or plugin conflictCheck the console and disable add-ons one at a time
Valid code rejectedWrong currency, expired or disabled card, product exclusionsCheck the card in your admin
Accepted but total unchangedCustom checkout code or app not updating totalsTest with the default checkout
Fix by platform
  1. Check gift cards are enabled

    In Shopify admin, open Products > Gift cards and confirm the card exists, is enabled and has a balance. Gift card selling and redemption depend on your plan.

  2. Compare with the default theme

    Preview a default theme such as Dawn and run the test again. If it works there, your live theme or an app is the cause.

  3. Review checkout customisations

    If you use checkout extensibility or custom checkout code, check that nothing removes the discount and gift card section. Disable recent apps that change checkout.

  4. Check the code in Admin

    Search the card by the last four characters in Products > Gift cards and check expiry, balance and whether it is disabled.

How to confirm it's fixed

Confirm the fix
  1. Repeat the full test

    Run the gift card test routine again on desktop and mobile, as guest and logged in.

  2. Check the balance

    After a completed test order, confirm the card balance dropped in your admin.

  3. Check the error path

    Enter an invalid code and confirm the message is clear.

  4. Check the console

    Confirm there are no new red errors on the checkout page.

How to prevent it happening again

Prevention habits
  • Keep a test gift card with a small balance and re-test after every theme, plugin, app or checkout change.
  • Test before busy gift-giving periods and sales.
  • Update gift card plugins and apps on a staging copy first.
  • Write down the test steps so anyone on the team can repeat them.
  • Add a calendar reminder to run the test monthly.
  • Monitor support emails for phrases like gift card not working.

How FunnelGuard handles this

FunnelGuard does not check gift card fields yet. It would need a test gift card with a balance, which makes it a possible future check rather than a current feature.

What FunnelGuard does cover nearby: a robot visitor runs your real customer journeys on a schedule, such as checkouts and lead forms, from the EU or the US. It checks each step and the tracking hits sent to ad and analytics platforms. If checkout itself stops loading or a step fails, it re-checks from a second region and sends one alert with a screenshot and a likely cause. It stops before payment unless your store's test mode is set up, and it never enters real card details.

Questions people ask

Why is my gift card code not working at checkout?

The usual causes are an expired, disabled or fully used card, a currency or product restriction, or a typo. If valid codes fail for everyone, check the gift card settings, recent plugin or theme changes, and the browser console for JavaScript errors.

Why is there no gift card box at checkout?

Gift cards may be switched off, your plan may not support them, or a theme or checkout customisation may be hiding the field. Compare against your platform's default theme or checkout to see whether your customisations are the cause.

Why does the gift card apply but the total doesn't change?

This usually points to a front-end or app problem: the server accepts the code but the page does not refresh the totals. Test with the default checkout, disable checkout apps and check the console for errors.

How do I test a gift card field without losing money?

Create a gift card with a small balance and use it on a low-value test order. Afterwards, cancel or refund the order if your platform restores the balance, or issue a replacement card.

Why does my WooCommerce gift card plugin not apply codes?

WooCommerce needs a plugin for gift cards, and conflicts with other plugins, caching or the block checkout are common causes. Test on staging with a default theme, disable other plugins one at a time and confirm the plugin supports your checkout type.

Does FunnelGuard check gift card fields?

No. FunnelGuard does not check gift card fields yet, and it is only a possible future check. It does monitor your main checkout journey and alerts you if that journey breaks, so use a manual gift card test as well.

How often should I test gift card redemption?

Test after any change to your theme, checkout, plugins or apps, and at least monthly. Add an extra test before holidays and promotions, when more customers redeem gift cards.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.