Sell gift cards on your website

Let shoppers buy a gift card on your website. Switch a product to a gift card, set one variant per amount, what the buyer fills in, when the code is emailed, and what is not supported.

A shopper can buy a gift card on your website like any other product. After the order is paid, Brainerce creates the card and emails its code to the person it is for. This article covers how to set it up and what the buyer sees.

Gift cards are still in rollout. There is no Gift cards entry in your sidebar yet, and gift cards start switched off for every store. See the gift cards overview.

What you need before a shopper can buy one

  1. Gift cards turned on for your store. While they are off, a shopper cannot add a gift card to the cart. See Turn on gift cards.
  2. A product switched to a gift card. On the Gift cards page, in Gift card products, choose Add a product and pick the product. The same switch is available through the Brainerce API, an AI assistant or a coding agent. You need the permission to manage gift cards.
  3. A website that shows it. Your website lists the gift-card products and shows the recipient fields. See a feature you turned on is not showing on your website.

Make a product a gift card

Create an ordinary product, then switch it to a gift card. When you do:

  • The product becomes digital. It asks for no shipping address, and a basket holding only gift cards has no shipping step.
  • It is always in stock. Nothing to count and nothing to run out of.
  • A bundle or kit cannot be a gift card, and neither can a product that already delivers download files. The switch is refused for them.

You can switch it off again with Stop selling in the same list.

One variant per amount

Each amount is a variant, and the variant's price is the value of the card. A "Gift card" product with variants of 50, 100 and 200 sells three card values.

Add the variants first, then switch the product to a gift card. If you add a variant afterwards, switch the product again so the new variant is also always in stock.

There is no field for a shopper to type their own amount.

What the buyer fills in

When the shopper adds a gift card to the cart, your website asks for:

FieldRequiredRule
Recipient emailYesA valid address, up to 254 characters
Recipient nameNoUp to 100 characters
Sender nameNoUp to 100 characters
Personal messageNoUp to 1000 characters, line breaks kept
Delivery dateNoUp to 366 days ahead. A date in the past means send now

If your website sends no recipient at all, the card is emailed to the buyer.

A wrong email address, or a delivery date more than 366 days ahead, is refused when the card is added to the cart, so the shopper fixes it before they pay. One cart line holds at most 50 cards. Once the order is created it keeps its own copy of the recipient, so changing the cart afterwards cannot redirect a card that was already paid for.

When the code is emailed

  • The card is created only after the order is paid, not when the order is placed. One card is made for each unit bought.
  • The recipient gets the code by email straight away (within about a minute), or on the delivery date the buyer chose.
  • The code is shown only in that email. The dashboard never shows it again. If it is lost, use Re-issue to give the customer a replacement. See When a customer loses their gift card code.
  • A test order issues no card. An order placed in test mode creates nothing, so a test order cannot prove the flow.

What a gift-card line gets and does not get

  • A gift card cannot pay for a gift card. The code is refused at checkout with the same generic answer as any bad code.
  • No coupon, automatic discount, bundle offer or order bump applies to a gift-card line, and the line does not count toward a coupon's minimum order.
  • No loyalty points and no cashback are earned on it.
  • It is never shipped or picked.

Refunds

Refunding an order that sold a card takes the card back first, if it is still whole. If value was already spent or is held by a checkout, the refund is refused with the code GIFT_CARD_SPENT. A refund that fails gives the card back, and a partial refund of other lines leaves the card alone. See Refunding an order that sold a gift card.

What is not supported

  • No amount typed by the shopper. Only the variants you set up.
  • No design or theme for the card or the email.
  • No physical or printable card.
  • No other currency. A card pays only in the currency it was sold in.
  • No resale of a card.
  • Returns refuse gift-card lines.
  • The automation trigger "A gift card is issued" does not start for a card a shopper bought. It starts only for cards you issue or re-issue by hand.

What's next?