🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

WooCommerce E-Gift Cards & Store Credit Add-on Setup Guide

Updated 11 min read WooCommerce Store & Checkout
On this page
  1. Video walkthrough
  2. Step 1: Install and Activate Your License
  3. Step 2: Create a Gift Card Product
  4. Step 3: What the Customer Fills In
  5. Step 4: How Gift Cards Are Created and Sent
  6. Step 5: Redeeming a Gift Card
  7. Step 6: Manage Gift Cards
  8. Refunds and Cancellations
  9. My Account and Balance Check
  10. Settings
  11. PDF Gift Cards and In-Store Redemption (version 1.1)
  12. Turn on PDF gift cards
  13. Design the PDF
  14. Who can download a PDF
  15. Redeem a gift card at the counter
  16. License
  17. Troubleshooting
  18. The recipient did not receive the e-mail
  19. No gift card was created for an order
  20. The customer says the code is not valid
  21. Can a gift card pay for shipping?

Video walkthrough

WooCommerce E-Gift Cards: Sell Gift Cards, Email Delivery & Redeem at Checkout
Watch: sell e-gift cards in WooCommerce and redeem them at checkout Watch on YouTube

The WooCommerce E-Gift Cards & Store Credit Add-on lets you sell gift cards in your WooCommerce store. Customers choose an amount, add the recipient’s name and e-mail, a personal message and a delivery date. The recipient receives a branded gift card e-mail with a unique code and pays with it on the cart or checkout page; any balance left stays on the card for the next order.

This guide covers installation, creating a gift card product, what customers see, how codes are delivered and redeemed, managing cards in the admin, refunds, settings and troubleshooting.

System Requirements & Prerequisites

  • WordPress: Version 6.5 or higher
  • PHP: Version 7.4 or higher
  • WooCommerce: Version 8.5 or higher (classic cart and checkout or the Cart and Checkout blocks, HPOS on or off)
  • GravityExtra license: The add-on installed, activated and licensed with an active GravityExtra license key

Step 1: Install and Activate Your License

  1. In WordPress go to Plugins → Add New → Upload Plugin, upload the add-on ZIP file and click Activate. WooCommerce must be active.
  2. Go to WooCommerce → Gift Cards → License, enter your key and click Activate License.
  3. Gift card products can be bought as soon as the license is active. Gift cards that were already sold always keep working.

Step 2: Create a Gift Card Product

Go to Products → Add New, enter a name such as “Store Gift Card” and choose Gift card in the Product data type list. On the Gift card tab fill in:

  • Amounts — the amounts customers can pick, separated by commas, for example 25, 50, 100 (up to 12).
  • Custom amount — tick it to let customers type any amount between the Minimum and Maximum you set, for example 10 to 500.
  • Expires after (months) — leave empty to use the store setting, enter 0 for no expiry or a number of months.

Add a product image (for example your gift card design) and a short description, then publish. Gift card products are always virtual, are not taxed when sold (tax is charged when the card is spent), never need shipping and are never discounted by coupons. The shop shows the price range, for example “$10.00 – $500.00”, and the button Choose amount.

Step 3: What the Customer Fills In

On the product page the customer picks an amount (or Other amount) and fills in:

  • Recipient name and Recipient e-mail — leave the e-mail empty to receive the gift card yourself (it goes to the billing e-mail).
  • Your name — shown as the sender in the e-mail.
  • Delivery date — any day from today up to one year ahead; empty means “as soon as the order is complete”.
  • Message — up to 300 characters.

Each gift card becomes its own cart line with the details listed under it. The amount is checked on the server against the product settings, so a changed form can never create a card with another value.

WooCommerce gift card product page with amount buttons $25, $50, $100 and Other amount, fields for the recipient name and e-mail, the sender name, a delivery date and a personal message, and the Add gift card to cart button
The gift card form on the product page.

Step 4: How Gift Cards Are Created and Sent

A gift card is created when the order reaches the status chosen in Settings: Completed (default) or Processing or completed. One card is created per gift card and quantity; it is never created twice for the same order line. The order notes show each card with its last 4 characters.

The recipient gets the Gift card e-mail right away, or on the delivery date at midnight (store time zone). The e-mail shows your store name, a gift card in your colour with the amount and the code, the sender, the message and a Shop now button. Change its subject, heading and text in WooCommerce → Settings → Emails → Gift card; the logo, header and footer come from your WooCommerce e-mail settings.

Branded gift card e-mail with the store name, a coloured gift card showing the amount, the gift card code, the sender and a personal message, and a Shop now button
The gift card e-mail the recipient receives.

Codes look like K7QM-9XRT-WD4P-ZH2C: 16 random characters without look-alike letters such as O and 0. They are stored hashed and encrypted; the admin list shows only the last 4 characters.

Step 5: Redeeming a Gift Card

Customers enter the code in the Have a gift card? box on the cart or checkout page — on the classic pages and on the Cart and Checkout blocks. The code can be typed in lower case, with or without dashes.

  • The card pays up to its balance. If the order costs more, the customer pays the rest with any payment method; if it costs less, the rest stays on the card.
  • Up to 5 cards can be combined in one order.
  • When a card covers the whole order, no payment method is needed and the order is placed directly.
  • Gift cards cannot be used to buy other gift cards.
  • The order, the thank-you page, the customer e-mails and My Account show a line like “Gift card ••••-ZH2C: −$50.00”.
WooCommerce Checkout block order summary with a $50.00 gift card applied to an $80.00 backpack, the Remove link, the Have a gift card? code field and the order total reduced to $30.00
A gift card applied on the Checkout block: the total is reduced to $30.00.

The balance is taken when the order is placed, before the payment. Every balance change is one safe database update, so two checkouts at the same moment can never spend the same balance twice; the second one is asked to check the order again. Codes that do not exist are limited to 8 attempts per 15 minutes per visitor.

Step 6: Manage Gift Cards

WooCommerce → Gift Cards lists every card with the last 4 characters, value, balance, status, recipient, order, e-mail state, expiry and date. Filter by Active, Used up, Expired, Turned off or Scheduled e-mail, and search by the full code, the last 4 characters, an e-mail address, a name or an order number.

Click a card to see its details and full history (created, used, returned, changed, e-mailed) and to:

  • Change balance — for example +10 or -5, with a note. The balance never goes below zero.
  • Turn off / Turn on — a turned-off card cannot be used.
  • Change the expiry date — or clear it for no expiry.
  • Change the recipient e-mail and send the e-mail again.
  • Show code — to read the full code to a customer.

Click Add gift card to create a card by hand, for a prize or customer service: amount, recipient, sender, message and expiry. Tick E-mail the gift card to the recipient now to send it straight away.

Refunds and Cancellations

  • Orders paid with a gift card: when the order is cancelled, fails or is fully refunded, the balance goes back to the card automatically (shown in the order notes and the card history). If the order becomes active again, the amount is taken again.
  • Partial refunds: in the Gift cards box on the order screen, enter the part to give back to the card and click Update.
  • Orders that bought a gift card: when the order is cancelled or refunded, its gift cards are turned off. Turn a card on again from its page if needed.

My Account and Balance Check

Logged-in customers find My Account → Gift cards: a balance check form and a list of the cards they bought or received. Add the shortcode [gegc_balance] to any page for a public balance check.

Settings

  • Gift cards expire after — months, 0 = never. Check the gift card rules where you sell; some countries and US states do not allow expiry within 5 years.
  • Create and send gift cards when the order is — Completed, or Processing or completed. Keep Completed if you accept cash on delivery or bank transfers.
  • Gift card colour — the colour of the card in the e-mail.
  • Uninstall — optionally delete all gift cards and settings when the plugin is deleted.

PDF Gift Cards and In-Store Redemption (version 1.1)

Version 1.1 adds two things: a printable PDF for every gift card, and a Redeem gift card screen for your shop counter. The PDF is off until you turn it on, so gift card e-mails stay exactly as they were after the update. Your gift cards, balances, history and settings are kept as they are.

Turn on PDF gift cards

Go to WooCommerce → Gift Cards → PDF gift cards and tick Create a PDF for each gift card. Two more boxes decide where the PDF goes:

  • Attach it to the gift card e-mail: the recipient gets the PDF as an attachment of the gift card e-mail, and the e-mail gets one extra line, Download your gift card (PDF), with a link to the same PDF. The rest of the e-mail text does not change.
  • Download in My Account → Gift cards: the customer who bought the card sees a Download PDF button. When the buyer bought the card for themselves, it is the full gift card. When the card was sent to someone else, the buyer’s copy shows only the last four characters of the code and no QR code, the same as the gift card list in My Account; the full code stays with the recipient.

Click Save Changes. New gift card e-mails carry the PDF from then on; a resend from the gift card screen carries it too.

https://gravityextra.com/wp-content/uploads/2026/11/ge-giftcards-110-settings.png

Design the PDF

Pick one of three designs and use the Preview link next to each to open a sample card with your saved settings:

  • Classic: a band in your colour with your logo, and a white card with the amount, the code and the QR code.
  • Full colour: the whole card in your colour, or your background image with a tint of your colour so the text stays readable.
  • Minimal: a white card with a colour line on the left. It uses the least ink when customers print it at home.

The other settings:

  • Paper size: A4 or US Letter.
  • Logo: a PNG with a transparent background or a JPEG from your media library. Without a logo the store name is shown.
  • Background image: an optional photo or pattern behind the card.
  • Card colour: leave it empty to use the gift card colour of the Settings tab (the colour of the gift card e-mail), or enter another colour such as #1f6f5c.
  • Text colour on the card colour: empty picks white or a dark colour, whichever reads better on your card colour.
  • Title: the word shown on the card, “Gift card” by default.
  • Show: the buyer’s message and the expiry date can be left out.
  • Small print: an optional line at the bottom, for example where the card can be used.

Every PDF shows the amount, the recipient and sender names, the code, a QR code that holds the code, the message, the expiry date and a short “How to use your gift card” note with your shop address.

https://gravityextra.com/wp-content/uploads/2026/11/ge-giftcards-110-pdf.png

The PDF uses the standard PDF fonts. They cover English and the Western European languages. Letters outside that set are written without accents where possible (for example “Đồng” becomes “Dong”), and a currency symbol the fonts cannot show is replaced by the currency code, for example “INR 50.00”.

Who can download a PDF

The recipient’s copy comes only with the gift card e-mail: the attachment and the download link in that e-mail. The link belongs to that one gift card, like the code in the e-mail, so treat the e-mail as you would the code. A changed or made-up link shows an error page.

In My Account only the logged-in customer who bought the card sees the Download PDF button; a customer account is never matched to a card by its e-mail address. The button’s link is signed for that account and stops working after 24 hours; a fresh link is made each time the My Account page opens. Anyone else who opens it, including visitors who are not logged in, gets an error page. Cards that are turned off, used up or expired are not offered for download. The file name holds only the last four characters of the code.

https://gravityextra.com/wp-content/uploads/2026/11/ge-giftcards-110-account.png

Redeem a gift card at the counter

Open WooCommerce → Redeem gift card. Shop managers and administrators can use it (the screen needs the manage_woocommerce capability, like the rest of the gift card screens). There are three ways to find a card:

  • Start camera and hold the QR code of the printed or on-screen gift card in front of the device camera. The camera picture stays on the device; only the code it reads is sent to your site. Browsers open the camera only on https pages.
  • Scan a photo picks a photo of the QR code from the device, for example on a tablet that cannot open the camera from the browser.
  • Type the code in Gift card code and click Find gift card. Lower case and missing dashes are fine.

The screen shows the balance, the value of the card, its status, the expiry date and the recipient name. Enter the amount and click Redeem amount, or click Redeem full balance. You can add a note, such as the till receipt number, and an order number. The new balance is shown at once.

https://gravityextra.com/wp-content/uploads/2026/11/ge-giftcards-110-redeem.png

Every redemption is written to the card’s history as “Redeemed in store by” and the user name, with your note. With an order number, the order also gets a note with the amount and the balance left. The balance is changed with the same database step the checkout uses, which checks the balance at the moment it takes the amount. Two tills redeeming the same card at the same moment cannot take more than the balance, and pressing the button twice redeems once. An expired, turned-off or used-up card is shown without the redeem button, and an amount above the balance is refused with the current balance.

License

PDF gift cards and the Redeem gift card screen need an active license key, like selling new gift cards. Without it the gift card e-mail is sent without the PDF, and cards that were already sold keep working at the checkout.

Troubleshooting

The recipient did not receive the e-mail

Check the card page: the E-mail row shows when it was sent or the scheduled date. Make sure the Gift card e-mail is enabled in WooCommerce → Settings → Emails and that your site can send e-mail (an SMTP plugin helps). You can resend from the card page.

No gift card was created for an order

Cards are created when the order reaches the status in Settings (Completed by default). Complete the order, and the card is created and e-mailed.

The customer says the code is not valid

Search for the code in WooCommerce → Gift Cards. A card can be expired, turned off or used up; the message at checkout says which.

Can a gift card pay for shipping?

Yes. A gift card works like a payment, so it pays for the whole order total, including shipping and taxes.

Questions? Open a support ticket.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr