
To prevent gift card fraud, treat every place a code can be checked or spent as a payment endpoint. Rate-limit the balance checker and the code field at checkout. Hold digital gift card delivery on orders your fraud tools rate as risky. Restrict who can see full codes, and know how to deactivate a card on your platform before you need to. Then watch three numbers through the peak: gift card share of orders, failed payments on gift card products, and requests to the balance endpoint.
Fraudsters favour gift cards because a digital card arrives by email within minutes and can be resold without shipping anything. Black Friday falls on 27 November 2026, and the weeks around it are when most gift cards are bought and activated. If you start this week, you have time to change settings and test them before the code freeze.
The OWASP Automated Threats project defines Token Cracking (OAT-002) as the "mass enumeration of coupon numbers, voucher codes, discount tokens", and lists "voucher, gift card and discount enumeration" among its other names. In practice, bots send thousands of guessed codes to a balance checker or a checkout field and record which ones return a value. F5 describes the next step: once attackers find cards with a positive balance, they use or sell them "before the legitimate customer has had a chance to use it." F5 also notes that attackers narrow their guesses with number patterns and the feedback they get from error messages.
The attack needs live balances to find. F5 states it has "observed an increase in gift card cracking during the holiday season, as that's when the majority of gift cards are purchased and activated." A store that sells many cards between late November and the end of December has more value sitting in active codes in that window than at any other time of year.
There is a second pressure from the buyer side. The US Federal Trade Commission tells consumers that "only scammers will tell you to buy a gift card" and give them the numbers off the back. Some gift card purchases on your store will come from people being coached by a scammer. You cannot stop every such purchase, but a short warning on the product page costs nothing.
Platform behaviour you should know before planning, as of November 2026:
If you run Magento or a custom platform, check the same points in your own gift card module: code length and randomness, whether the balance check is public, whether a card can pay for a card, and how deactivation works.
Balance cracking is the bot-driven guessing described above. The store sees a burst of requests to a balance page or repeated invalid code attempts at checkout, often from many IP addresses.
Stolen payment cards buy digital gift cards. A fraudster pays with a stolen card, receives the gift card code by email, and resells or spends it before the chargeback arrives. The store loses the merchandise bought with the card and pays the chargeback. This overlaps with card testing; see our guide to a card testing attack on your online store.
Account takeover drains stored balances. Where customers redeem gift cards into an account balance, as WooCommerce Gift Cards allows, a stolen password gives access to the money. Our account takeover protection map covers login controls.
Scam victims buy cards under instruction. The store is paid, but the customer may later ask for a refund.
| Risk | Owner | Check | Frequency |
|---|---|---|---|
| Balance cracking via public checker | Developer or agency | Request rate per IP to balance endpoint; challenge in place | Daily from mid-November to January |
| Code guessing at checkout | Developer | Invalid code attempts per session; uniform error message | Weekly, daily during peak |
| Stolen-card gift card orders | Store operator | Gift card share of orders and failed payments on gift card products vs baseline | Hourly alerts during peak, daily review |
| Account balance draining | Store operator | Unusual balance redemptions from new devices or after password resets | Daily |
| Over-broad access to full codes | Store owner | Admin user list; who sees full codes or code copies | Before peak, then monthly |
| Slow response to a compromised batch | Store owner and agency | Deactivation tested; runbook owner named | Once before peak |
GIFT CARD INCIDENT RUNBOOK (store: ____________ owner: ____________)
Trigger (any one):
[ ] Balance-check requests > __ x normal in 1 hour
[ ] Gift card share of orders > __% (normal: __%)
[ ] Failed payments on gift card products > __ in 1 hour
[ ] Customer reports a card drained before first use
First 30 minutes
[ ] Turn on or tighten bot challenge on balance checker and code field
[ ] Temporarily hide digital gift card products if stolen-card orders are suspected
[ ] Pause automatic delivery of new gift card codes; switch to manual review
[ ] Export the list of codes used or checked during the spike (last 4 chars + IDs)
First 24 hours
[ ] Contact payment provider about suspected stolen-card orders
[ ] Deactivate confirmed compromised codes; record ID, balance, time, who did it
[ ] Reissue value to verified legitimate holders (new code, not reactivation)
[ ] Reset passwords on accounts where balances were redeemed unexpectedly
[ ] Note the incident on the shared timeline with deploys and config changes
Before closing
[ ] Rate limits and challenge reviewed; thresholds adjusted
[ ] Customer replies sent using an agreed template
[ ] Short write-up: trigger, impact (illustrative or measured), fix, follow-up
The numbers in this scenario are invented for illustration. A WooCommerce store sells clothing and digital gift cards. On a normal November day, gift cards make up about 4% of orders. On the Saturday before Black Friday, the operator's hourly order alert shows gift cards at 30% of orders over two hours, most of them at the maximum denomination, from new customers, with several failed payment attempts before each success.
The operator follows the runbook. They hide the gift card product, pause automatic code delivery, and send the order list to the payment provider. Because WooCommerce lets them deactivate individual codes, they deactivate the codes from those orders that have not yet been redeemed. Two orders turn out to be genuine customers buying presents, and the operator emails them new codes after a quick verification. The next week, the agency adds a per-customer daily gift card limit and a challenge on the balance page before relisting the product.
Limitations: rate limits and challenges slow attackers and raise their cost; determined groups rotate IP addresses and solve challenges, so these measures reduce losses without removing them. Platform behaviour described here is as of November 2026 and may change; check your platform's current documentation. Consumer protection and gift card expiry rules vary by country and region, so confirm refund and reissue terms with your own adviser. This article is operational guidance, not legal advice.
It is a brute-force attack where bots try large numbers of possible gift card codes against a balance checker or checkout to find cards that hold value. OWASP classifies it as OAT-002, Token Cracking.
If few real customers use it, removing it or moving balance display into the customer account and the gift card email reduces exposure. If you keep it, add rate limits, a bot challenge and uniform error messages.
That depends on the platform. On Shopify, deactivation is permanent and the guidance is to issue a new card. WooCommerce Gift Cards provides an activate/deactivate control on the code's edit page. For other platforms, test on a dummy card before peak.
Last reviewed: 2026-11-06
Step 10 asks you to watch order flow, including failed payments. For WooCommerce stores, Pingvera receives order.created and order.failed events in real time through its WordPress connector and places them on one timeline with deploys and incidents, so a burst of failed payments sits next to the configuration change that came before it. Its anomaly detector compares orders with an hourly baseline and alerts when the site is up but orders stop. Pingvera does not block bots or inspect gift card codes. For a deeper look at order-flow alerts, read catching a WooCommerce store that stopped selling.
Pingvera watches whether an online business actually works — uptime, checkout, orders, domain, SSL and server — and alerts you in Telegram, email or a webhook before a customer has to tell you.
Start freeRead next: Holiday Return Policy for Online Stores: 2026 Setup Guide · Fraud Controls vs Ecommerce Conversion · Magento Security Patch Oct 2026: BlockStrap Fix Checklist · 5 Best Client Reporting Tools for Web Agencies (2026) · Run a free site check.
Read next: Holiday Return Policy for Online Stores: 2026 Setup Guide · Is Cloudflare Down? An Outage Plan for Online Stores · Fraud Controls vs Ecommerce Conversion · Magento Security Patch Oct 2026: BlockStrap Fix Checklist · Run a free site check.