Title: Chit &#8211; Download codes for WooCommerce
Author: jpgleeson
Published: <strong>1 ژوئن 2026</strong>
Last modified: 25 سپتامبر 2026

---

جستجوی افزونه‌ها

![](https://ps.w.org/chit-download-codes-for-woocommerce/assets/banner-772x250.png?
rev=3557076)

![](https://ps.w.org/chit-download-codes-for-woocommerce/assets/icon.svg?rev=3557076)

# Chit – Download codes for WooCommerce

 توسط [jpgleeson](https://profiles.wordpress.org/jpgleeson/)

[دانلود](https://downloads.wordpress.org/plugin/chit-download-codes-for-woocommerce.1.2.1.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/chit-download-codes-for-woocommerce/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/chit-download-codes-for-woocommerce/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/chit-download-codes-for-woocommerce/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/chit-download-codes-for-woocommerce/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/chit-download-codes-for-woocommerce/)

## توضیحات

**Chit** bridges your physical sales and your WooCommerce digital downloads. Print
a code on a card, sticker, leaflet, or receipt; the customer enters the code on 
your site to receive access to the product’s downloadable files. Picture this for
selling in person at a market – you’re selling your books but normally through webstore
orders people get a PDF download too. This squares the circle.

It plugs into WooCommerce’s existing download system rather than reinventing it.
When a code is redeemed, Chit creates a real (zero-total) WooCommerce order for 
the customer, marks it complete, and WooCommerce grants the download permissions
exactly as it would for a paid order. The redemption appears in the customer’s **
My Account  Downloads** page and in **WooCommerce  Orders** with a note explaining
its origin.

#### What you get

 * **Batch generation** — generate any number of codes for a product in one go, 
   with optional batch notes (e.g. “Christmas flyer 2025” or “Games day 2026”) so
   you can find them later.
 * **Configurable code format** — set your own prefix (or none) and the code body(
   e.g. 2 groups of 4, 3 groups of 4, 2 groups of 6) under **Chit  Settings**, with
   a live preview. Defaults to `CHIT-XXXX-XXXX`.
 * **Crockford-base32 characters** — no ambiguous characters (no 0/O, 1/I/L, or 
   U/V confusion) so codes are easy to read off prints.
 * **Admin code browser** — list table with status, batch, and product filters; 
   sortable columns; per-row Revoke action; pagination.
 * **Customer-facing redemption page** — auto-created on activation with the `[chit_redeem]`
   shortcode. Requires login (codes are tied to user accounts so customers can re-
   download anytime).
 * **CSV import** — migrate codes you issued elsewhere, including their redemption
   state, under **Chit  Import**. Streams the file in background batches, so six-
   figure row counts are fine; a dry run validates everything before a single row
   is written.
 * **CSV export** — three-column export (code, product name, redeem URL) suitable
   for mail merges or label printing.
 * **PDF-ready print sheet** — 2×5 grid of cards per A4 page, each card showing 
   product name, SKU, code, and the redeem URL. Uses the browser’s native “Save 
   as PDF” so quality is excellent and there are no third-party dependencies.
 * **Reports** — at-a-glance counts (unused / activated / revoked) plus a top-products
   breakdown with activation rates.

#### How it integrates with WooCommerce

Chit does _not_ maintain its own download permissions. On activation it creates 
a WooCommerce order on the customer’s account with the redeemed product as a line
item and a $0 total, then sets the order status to **completed**. WooCommerce’s 
existing download-permission machinery takes care of the rest: the customer sees
the order in their account, the download file appears in **My Account  Downloads**,
the download counter and any expiry rules you have configured all behave normally.

## نصب

 1. Upload the `chit` folder to `wp-content/plugins/` (or install via the Plugins screen).
 2. Activate **Chit** through the **Plugins** screen.
 3. A “Redeem Chit Code” page is created automatically and assigned the `[chit_redeem]`
    shortcode. You can find it under **Pages**, rename it, or move it under another
    menu as you like.
 4. Go to **Chit  Settings** to set your code format (prefix, length, grouping) — or
    keep the default.
 5. Generate your first batch under **Chit  Generate**.

#### Requirements

 * WordPress 6.0 or newer
 * WooCommerce 5.0 or newer
 * PHP 7.4 or newer
 * At least one **downloadable** WooCommerce product (a product with the “Downloadable”
   checkbox enabled and one or more files attached)

## سوالات متداول

### Where does the customer enter their code?

On the auto-created **Redeem Chit Code** page (slug `/redeem-chit-code/` by default).
The page contains the `[chit_redeem]` shortcode, which renders the redemption form.
You can move the shortcode to any other page or post and link to it from your menus.

### Does the customer need an account?

By default, yes: codes grant download permission to the customer’s WooCommerce account,
so the files show up under **My Account  Downloads** and can be re-downloaded any
time. Guests who try to redeem are sent to the login page first.

If you’d rather not make people register — say the download is a free extra bundled
with a physical product — turn on **Allow redemption without an account** under **
Chit  Settings**. Guests then enter their email address alongside the code. Chit
creates a guest order, the download links appear on the success screen, and WooCommerce’s“
Completed order” email sends them a copy. Logged-in customers will keep the existing
account flow.

### Can I change what the codes look like?

Yes. **Chit  Settings** lets you set the prefix (including removing it entirely)
and the shape of the code body — how many groups of how many characters, e.g. 2 
groups of 6. Changing the format only affects newly generated codes — everything
you’ve already issued keeps working exactly as printed, because redemption matches
the stored code, not the current format.

### I already have codes from another system. Can I bring them in?

Yes — **Chit  Import** accepts a CSV with the columns `code,sku,status,activated_at,
activated_email` (a sample file is downloadable on that page). Codes keep their 
status, so already-used codes stay used. The import runs in the background via WooCommerce’s
scheduler, handles hundreds of thousands of rows, skips duplicates, and every import
can be deleted again in one click.

### Can the same code be redeemed twice?

No. Codes are single-use. Once redeemed, the status flips to `activated` permanently.
If you need multi-use license-key behaviour, that’s a different use case and not
currently supported.

### I generated 50 codes for the wrong product. Can I cancel them?

Yes. Visit **Chit  View Codes**, filter by the batch number, and click **Revoke**
on each (or use the batch dropdown to scope the list). Revoked codes can’t be redeemed.

### How are PDFs generated?

The **Print PDF** action opens a standalone HTML page laid out for A4 print; you
then use your browser’s **Print  Save as PDF** option.

### The customer gets a “your order is complete” email after redeeming. Is that intentional?

It’s WooCommerce’s default behaviour for any order moving to **completed** status.
The email is useful as it contains the download link.

### What about uninstalling?

Deactivating leaves your data intact. **Deleting** the plugin from the Plugins screen
runs the uninstall script, which drops the `chit_codes` and `chit_batches` tables
and clears the related options. The auto-created redemption page is _not_ deleted—
you can remove it manually from **Pages  Trash**.

### What capability is required for admin actions?

manage_woocommerce — the same capability WooCommerce uses for its own back-office
screens. Shop managers can use Chit; regular subscribers cannot.

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/8eb44e07b7308b77bc4c64c2027639477c015797a55249923e915e1be9cd0ddc?
s=60&d=retro&r=g)

### 󠀁[Very easy to use!](https://wordpress.org/support/topic/very-easy-to-use-790/)󠁿

 [TStone](https://profiles.wordpress.org/tstone/) 8 سپتامبر 2026

I've been searching for a solution like this for years, and finally, there is one!
And it is very easy to use! Perfect for selling ebooks at lectures and conferences.

 [ خواندن تمامی 0 نقد و بررسی‌ ](https://wordpress.org/support/plugin/chit-download-codes-for-woocommerce/reviews/)

## توسعه دهندگان و همکاران

“Chit – Download codes for WooCommerce” نرم افزار متن باز است. افراد زیر در این 
افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ jpgleeson ](https://profiles.wordpress.org/jpgleeson/)

[ترجمه “Chit – Download codes for WooCommerce” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/chit-download-codes-for-woocommerce)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/chit-download-codes-for-woocommerce/)،
[مخزن SVN](https://plugins.svn.wordpress.org/chit-download-codes-for-woocommerce/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/chit-download-codes-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/chit-download-codes-for-woocommerce/)
مشترک شوید.

## گزارش تغییرات

#### 1.2.1

 * Fix: guest redemption no longer tells customers their download links were emailed
   when WooCommerce’s “Completed order” email is disabled. If a send fails, customers
   are asked to download their files now and the error is surfaced on the Chit settings
   page.
 * Admin: the guest redemption setting now warns when the “Completed order” email
   is disabled, with a link to turn it on.

#### 1.2

 * New: optional guest redemption (**Chit  Settings  Allow redemption without an
   account**). Guests redeem with their email address; download links are shown 
   on screen and emailed. Off by default.
 * New: the redemption success screen now lists the download links directly, for
   guests and account holders alike.
 * Admin: guest redemptions show the customer’s email in the “Activated by” column.

#### 1.1

 * New: configurable code format — prefix (or none) and code body shape, with live
   preview, under **Chit  Settings**.
 * New: CSV import (**Chit  Import**) for codes issued elsewhere, including their
   redemption state. Dry-run validation, background processing via Action Scheduler,
   resumable, with one-click rollback per import.
 * Fix: fatal error on PHP 7.4.
 * Fix: redemption orders are now genuinely zero-total by default; previously they
   always booked the product’s catalog price. A new setting under **Chit  Settings
   Redemption orders** (or the `chit_redemption_zero_total` filter) restores the
   old behaviour.
 * Database: the codes table now accepts codes up to 64 characters (imported codes);
   generated codes are unchanged.

#### 1.0

 * Initial release.

## اطلاعات

 *  نگارش **1.2.1**
 *  آخرین به‌روزرسانی **2 هفته پیش**
 *  نصب‌های فعال **کمتر از 10**
 *  نگارش وردپرس ** 6.4 یا بالاتر **
 *  آزمایش‌شده تا **7.0.7**
 *  نگارش PHP ** 7.4 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/chit-download-codes-for-woocommerce/)
 * برچسب
 * [codes](https://fa.wordpress.org/plugins/tags/codes/)[downloads](https://fa.wordpress.org/plugins/tags/downloads/)
   [Voucher](https://fa.wordpress.org/plugins/tags/voucher/)[woocommerce](https://fa.wordpress.org/plugins/tags/woocommerce/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/chit-download-codes-for-woocommerce/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 1 5-ستاره     ](https://wordpress.org/support/plugin/chit-download-codes-for-woocommerce/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/chit-download-codes-for-woocommerce/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/chit-download-codes-for-woocommerce/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/chit-download-codes-for-woocommerce/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/chit-download-codes-for-woocommerce/reviews/?filter=1)

[بررسی شما](https://wordpress.org/support/plugin/chit-download-codes-for-woocommerce/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/chit-download-codes-for-woocommerce/reviews/)

## مشارکت کنندگان

 *   [ jpgleeson ](https://profiles.wordpress.org/jpgleeson/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/chit-download-codes-for-woocommerce/)