Skip to the article
CZ CommerceHelp

Digital codes and subscriptions

Sell gift cards, licence keys or account logins. A buyer gets a code as soon as their payment is verified, the codes left are the stock, and a subscription's buyer is reminded before it ends.

On this page

A code is a secret text the buyer gets when they buy: a gift card number, a software key, or an account’s login. You put the codes on the product beforehand; once the payment is verified, each buyer gets one.

Adding codes

  1. Open the product in Products, set Type to Digital and save. The code cards appear after the save.
  2. Each variant has its own Codes card (one card when there are no variants). For example, “1 month” and “1 year” as variants have separate codes.
  3. Paste the codes in Add codes, one per line, then press Add.
  4. Below it you see how many were added, how many were there already (the same code never goes in twice) and how many blank lines were skipped.

Up to 1,000 codes at a time, each up to 500 characters.

Codes with several parts

When you sell accounts, one code holds several things. Put | (with a space on each side) between them:

[email protected] | Pass123 | PIN 4821

The buyer sees each part on its own line. The list shows only a little of the first part: an account’s login start and email domain (like wal•••@gmail.com), a gift card’s last few characters (like ••••4821), never the password or PIN.

Stock = codes left

  • The card’s four numbers: Left (for sale), Given (went to an order), Bad, Retired.
  • The codes left are the variant’s stock. When they run out, the store shows the item as sold out. There is no stock to set by hand.
  • When an order that got a code is cancelled, returned or refunded, its code is Retired: the buyer may have seen it, so it is not sold again. If you are sure, press Put back on sale.

The list and “Show”

The list shows each code’s last few characters, its state, the order it went to and the date.

  • Show: opens the whole code, with Copy. Hide covers it again. Every look is kept in the store’s activity log; one person can open at most 30 a minute.
  • Bad: a code left that does not work, with the reason. It is not sold and the stock goes down by 1.
  • Delete: only codes left can be deleted. A code that was given stays for its history.

Adding, opening or changing a product’s codes needs the Change products, categories and stock permission; on the order’s card, opening, sending again and replacing need the permission to change orders.

When codes run short

Paid, but the codes ran out? The buyer gets what there is, the order waits for the rest, and you get the low-stock alert. Add new codes, then press Give codes to the N waiting orders now on the card, or Give now on the order page.

On the order page

An order with codes has a Digital codes card under the items: each line’s codes (their last few characters), their state and when they end.

  • Codes go out by themselves: when you press Verified on a manual payment, or when the order is delivered. A digital-only order that has every code is marked delivered by itself; no courier is involved.
  • Send again: sends the buyer their codes again if they lost them, at most 3 times a day.
  • Replace: for a code that does not work, with the reason. The old one becomes bad, the next code left goes out (stock −1), and the buyer gets it. The validity stays the same.
  • The timeline shows when codes were given, replaced, sent again or retired, and when the buyer first opened them. There too, only the last few characters.

The buyer gets the codes through a link by SMS (it opens the order tracking page, where “Show” opens them and “Copy” copies each field), and the codes themselves by email when the order has one. An SMS never carries the code. Switch it and word it on the SMS and email page (Code delivery (digital products; the link goes, not the code)).

Validity and reminders

For a subscription (like 30 days), set the variant’s Validity (days). Quick picks: 30, 90, 180, 365 days; leave it empty when it does not run out.

  • It is counted from the day the code is given. The order’s card and the buyer’s tracking page show the end date.
  • A few days before it ends (3 at the start, 1 to 14; on the Expiry reminder (digital products) card of the SMS and email page) the buyer gets one reminder to renew by SMS and email, with the product’s link. Cancelled, returned or refunded orders get none, nor does a number that already bought the same variant again.
  • In the orders list, the Validity ends filter: Within 7 days, Within 30 days or Already ended. Handy for renewal calls.

Digital-only orders

When the cart holds only digital products, the checkout is shorter:

  • No address, district, courier or delivery charge. A phone number is needed; email is optional.
  • No cash on delivery: the whole amount is paid first, by a manual payment like bKash or Nagad. If the store has no manual payment switched on, no order can be placed.
  • The codes go out as soon as the payment is verified.

More: Adding a product · The order page