Skip to content
Gaurav TiwariDocs

Sell Gift Cards and Give Store Credit

Version 1.0.0-beta.1 Updated November 8, 2026

Gift cards are an easy sale around the holidays, and store credit is a kind way to settle a complaint without sending money back. Easy Digital Downloads has neither. Discount codes come close, but they can’t hold a balance that’s spent across orders or pay for tax.

Gift Cards and Store Credit sells gift cards as ordinary downloads and emails a code for each one. Shoppers enter codes in a Gift card field at checkout, and a card can pay part or all of an order. Signed-in customers can keep a balance as store credit, and you can refund an order to store credit instead of to the payment method. Every balance has a ledger.

Turn On the Module

Open Stackless → Dashboard and turn on Gift Cards and Store Credit. It’s in the Sales & invoices group. Balances live under Stackless → Gift cards, and the settings under Stackless → Settings → Gift Cards and Store Credit. The module pauses while EDD Wallet is active, and the Dashboard says so.

Sell a Gift Card

  1. Create a download and give it the price the card should be worth.
  2. Tick Gift card in the Gift card box in the sidebar.
  3. Publish or update the download.

Each unit bought issues a card worth the download’s price in your store currency. A discount on the order doesn’t lower the card’s value. Downloads with variable prices can’t be gift cards, so make one download per amount. Gift card downloads always add to the cart, because Buy Now would skip the recipient fields.

What the Buyer Fills In

The purchase form gets a “Who is it for?” section:

  • Recipient email: leave it empty to receive the card yourself.
  • Recipient name: optional.
  • From: optional. Defaults to the buyer’s name.
  • Message: up to 500 characters.

The cart shows who each card is for. Each recipient is a separate cart line, so two cards for two people never merge, even with cart quantities on.

How Cards Are Issued

Cards are issued when the order is complete, one per unit, and the order gets a note such as “1 gift card issued and emailed.” Each recipient gets the Gift card email with the value, the code and the buyer’s message.

  • Codes look like ABCD-EFGH-JKMN-PQRS, from an alphabet without 0, O, 1, I and L. Shoppers can type them in any case.
  • The email is Gift card on Stackless → Emails. Its default subject is “{sender_name} sent you a gift card for {site_title}”, and you can switch it off or edit it there.
  • Refunding, revoking or cancelling the purchase disables its cards. A partial refund disables as many cards as it refunds whole units, starting with the cards that have the most left.

Redeem at Checkout

The Gift card field sits at the top of the checkout form whenever the cart has something a card can pay for. Shoppers type a code and click Apply, and the checkout reloads with the card’s amount taken off.

  • A card pays for downloads and their tax. What isn’t spent stays on the card for next time.
  • Several cards can be used on one order. Each applied card shows with a Remove link.
  • Cards don’t pay for fees, such as signup fees, or for other gift cards in the cart. They skip lines that pay an invoice, a renewal or a plan switch.
  • A code typed in EDD’s discount field gets “This is a gift card code. Enter it in the Gift card field instead.”
  • After a discount code or a quantity changes, the checkout reloads so the card’s amount fits the new total.

Each card shows in the order as a negative fee, labeled “Gift card” and the last four characters of the code, or “Store credit”. If a card no longer has enough left when the order is placed, the checkout stops with a message to check the Gift card field.

Store Credit on the Account

Signed-in customers get a Store credit tab on the account page. It shows the balance, the last 30 ledger lines and an Add a gift card form.

  • Add to my balance moves a gift card’s whole balance onto the account. Store credit never expires.
  • With Store credit at checkout on, the balance applies by itself at checkout. Customers can remove it there and keep it for later.
  • With it off, or once removed, the Gift card field offers a Use it link next to the balance.
  • Store credit only works for the account it belongs to.

Refund to Store Credit

With Refund to store credit on, EDD’s refund dialog on the order screen gets a Refund to store credit box and a Reason field that’s kept in the ledger.

  • Ticking the box unticks the gateway refund boxes, so no money goes back to the payment method.
  • The refund amount, converted to your store currency, is added to the customer’s store credit.
  • For a guest order, a new gift card with the refund amount is emailed to the order address.
  • The order gets a note with the amount and the card.

Refunds of Orders Paid by Card

  • A partial refund gives each card its share back, in proportion to the money refunded. The refund that empties the order gives back the rest.
  • Failed, abandoned, cancelled and refunded orders give the full card amount back, with a note on the order.
  • Revoked orders don’t give card balances back.
  • A pending order holds the card amount until it’s paid, fails or is abandoned.

Manage Balances

Stackless → Gift cards shows the Outstanding balance, which is what active cards and store credit still hold. Below it, every card and store credit account is listed with its code, type, recipient, balance, issued amount, status and date. Search by code or email.

Issue a Balance

Click Issue balance to give credit by hand:

  • Issue as: A new gift card code, or Store credit on a customer account.
  • Amount: in your store currency.
  • Email: the recipient of a new card, or the customer account for store credit.
  • Recipient name and Message for a new card.
  • Reason: required, and kept in the ledger, such as “Apology for a late reply”.
  • Send: Email a new card to the recipient. On by default.

Adjust, Disable and Resend

Open a card to see its balance, issued amount, status, owner, expiry and order, then:

  • Adjust balance with an amount and a reason. A negative amount takes money off, and a balance can’t go below zero.
  • Disable card or Enable card. A disabled card keeps its balance.
  • Email the card again for a gift card.
  • The Ledger lists every movement with its date, type, amount, balance after, order and note.

Each order screen also gets a Gift cards box listing the cards the order issued and the cards it was paid with. Managing gift cards needs the edit_shop_payments capability.

Settings

  • Code prefix: up to 8 letters or digits in front of new codes, such as GIFT. Empty by default.
  • Gift cards expire after (months): 0 means never, the default. Many countries set a minimum, so check yours. Store credit never expires.
  • Store credit at checkout: apply a signed-in customer’s store credit automatically. On by default.
  • Refund to store credit: show the box in the order refund dialog. On by default.

Multi-Currency and Taxes

Balances are kept in your store currency. With Multi-Currency, a cart in another currency sees the balance converted at the current rate, and what the order uses is converted back. This relies on Multi-Currency’s Cart fees setting being on, which is the default.

Cards are taken off after tax, so the taxable amount doesn’t change and a card can pay the tax too.

Privacy

No outside service is used. Each card stores the buyer’s email, the recipient’s email and name, the sender name and the message. The order line keeps the same recipient details.

  • Tools → Export Personal Data includes cards bought by, sent to or owned by the address, with the code masked.
  • Tools → Erase Personal Data removes names, addresses and messages from the cards and the order lines. Balances and the ledger stay as accounting records, and the eraser says so.

Limits

  • Codes go in the Gift card field, not in EDD’s discount field.
  • An order paid entirely by card has no money for EDD to refund. Give the balance back with an adjustment under Stackless → Gift cards. Deleting a refund doesn’t take back the card’s share.
  • If two orders spend the same card at the same moment, the second takes what’s left and gets a note with the shortfall. The order isn’t refused, so check it before you deliver.
  • Delivery is immediate. Scheduled delivery dates aren’t supported.
  • EDD’s earnings reports count a gift card when it’s bought, and later orders paid with it show lower totals. What you owe shows only on the Gift cards screen.
  • On a copy of your store, such as staging, the Gift card email isn’t sent.
Share

Was this helpful?

Still stuck? Open a support ticket