Sales · Staff guide

Gift cards

Sell gift cards, issue them by hand, and see each card's balance and history

A gift card is a code worth an amount in the shop's currency. Shoppers spend it at checkout, and whatever is left stays on the card for next time.

Selling gift cards

  1. Create a listing, for example "Gift card", at the price the card should be worth.
  2. On its Product setup page, set Product type to Gift card. To sell several amounts on one listing, add variants such as $25, $50 and $100, each with its own price.
  3. Publish it.

When an order containing gift cards is paid, each unit becomes its own card worth the price paid. The codes are emailed to the buyer and shown on their order page, so they can pass them on. Until the order is paid (for example, while you wait for a bank transfer before clicking Mark paid), no card exists yet.

Gift cards are not discounted, taxed or shipped, and a gift card can't be used to pay for another gift card.

Issuing a card by hand

Click Issue gift card on Sales → Gift cards, for example to make up for a problem or to give a prize. Enter the amount, and optionally the recipient's name and email, a message and an expiry date. Tick Email the code to the recipient to send it to them.

The new code is shown once at the top of the page. After that, open the card with the eye button to see its code again.

Spending

At checkout, the shopper types the code under Gift card, and the summary shows how much it pays. They can add up to five cards. The cards pay first, and the payment gateway (or your offline payment) takes the rest. If the cards cover everything, the order is paid at once.

The amount comes off the card when the order is placed. If the order is cancelled, it goes back on the card.

Balances and history

Sales → Gift cards lists every card with its balance, and at the top the total still owed on active cards. Open a card to see its history: when it was issued, which orders it paid towards, and any balance put back.

  • Disable stops a card from paying; Enable turns it back on.
  • When an order that sold cards is cancelled, those cards are voided: their balance goes to zero and they stop working.
  • A refund doesn't touch cards the order sold. If you refund a gift card purchase, disable the card too.

Security

Codes are 16 characters long and avoid look-alike letters and digits. The shop keeps a one-way fingerprint of each code to find it by, plus a copy sealed with your install's app key so the code can be shown again. If the app key changes, old codes still work but can't be shown again.

In the books

A gift card sold is money you owe whoever holds the card, so Accounting books it to Shop gift cards (a liability, account 2450 in the retail chart) instead of sales. When a card pays for an order, that liability goes down and the sale is booked as usual.