Gift cards

Gift cards with a balance: sold as a product (a fixed amount or one the customer types, to themselves or to somebody else, on a date of their choosing), issued by hand one at a time or in a batch for printing, and spent in the same box as a coupon. A card is money paid in advance, not a discount: it pays part or all of an order beside the ordinary payment method, a refund goes back onto it first, and every movement of its balance is a line in its own history.

Admin section
Marketing
Version
1.0.0 · torgash.giftcards
Installed with
The "Every module" set, or by hand in the admin
Needs
Catalog, Cart, Checkout

Gift cards

A gift card is money paid in advance, not a discount. It pays part or all of an order beside the ordinary payment method: the order’s total stays what the goods cost, the card’s part is printed under it (“Gift card ····1234 −300”), and what is left is paid the ordinary way — by card at the bank, to the courier, by transfer. That is why a card never lowers tax, and why a refund knows where the money came from.

Where a card comes from

  • Sold as a product. Tick “This product is a gift card” on the product’s Gift card tab. The amount is either the product’s price (different amounts are variations of one product) or typed by the customer between a minimum and a maximum (set the price to 0). The customer may say it is a present: the recipient’s name and email, who it is from, a message and the day to send it. A card is issued once the order is paid — an unpaid order never produces a working code — one card per unit, and each is issued once however many times the order changes afterwards.
  • Issued by hand — Marketing → Gift cards → Issue cards → One card: an amount, a date, whom it is for (a letter goes to them at once or on the day), and optionally the customer’s account it belongs to.
  • A batch for printing — A batch for printing: N cards of one amount under a batch name. They are not money until a manager opens the one handed over at the till and presses Activate; a stolen box of printed cards is worth nothing. Download the codes in the list gives the printer a CSV.

Spending it

The code goes into the same box as a coupon — “Coupon or gift card?”. Case, dashes and spaces do not matter. Several cards can be on one order; the one that expires first is spent first. In the checkout summary each card has “use less”: the customer keeps part of a card for next time.

A customer can keep a card in their account (Account → Gift cards, or the button on the card’s page). From then on only that account can spend it, and at checkout their cards are offered as one-click buttons with no code to type.

Wrong codes are counted per address: after ten in a quarter of an hour even a right one waits, and the guard module counts them towards blocking the address.

Where a card may be spent

On a card’s page (and when issuing): only for goods in some categories (with their subcategories), whether it may pay for delivery, at most a share of an order, only on an order from some amount. Nothing set — anywhere, all of it. A gift card product itself is never paid with a card unless the settings allow it, and coupons and promotions never discount a gift card.

After the order

  • Refund — money goes back onto the card first, up to what the card paid; only the rest goes through the bank.
  • Cancelled order — an order moved into a status that returns the goods to stock gives the card its money back by itself (a setting).
  • A card bought by an order that is refunded in full is cancelled; what was already spent stays spent (a setting).
  • The manager can put a card on a placed order (the order’s payment card → “Gift card code” → Pay) and take it off again.

Balance and history

A card’s balance is the sum of its history: issue, payments for orders, returns, corrections by hand (a reason is required and the customer sees it), expiry. The guard’s checks say when a balance disagrees with its history, when a card went below zero, or when an order’s prepaid sum disagrees with the cards.