Coupons give subscribers a discount when they sign up for, renew or upgrade a plan. You can create coupons one by one, generate hundreds at once, or import them from a spreadsheet.
Coupons only work if Enable Coupon is set to Yes in Membership Pro -> Configuration. When it is enabled, the subscription form shows a coupon code field.
Go to Components -> Membership Pro -> Coupons, or use the Coupons menu inside Membership Pro. The list shows each coupon's code, discount, times allowed, times used, validity dates, note and status. You can search by code and filter by plan or status.

Click New and fill in the form.

After a coupon has been used, the Usage Statistics tab on the edit page lists the subscriptions that used it and the discount each one received.
The subscription form accepts a code only if all of these are true:
To let only people with a valid coupon subscribe to a plan, set Require Coupon to Yes on the plan's Advanced Settings tab. See Advanced Settings.
Use batch generation to create many unique codes at once, for example for a promotion or a reseller. Go to Coupons -> Batch Coupons.

SUMMER-. Optional.Click Generate Coupons in the toolbar. The coupons appear in the coupons list.
Go to Coupons -> Export. Membership Pro downloads an Excel file (coupons_list.xlsx) with all coupons. Use it for reporting, or as a template for importing.
The file has these columns: id, plan, code, coupon_type, subscription_type, discount, times, used, max_usage_per_user, valid_from, valid_to, note, published.

Use import to bring in coupons created elsewhere, or to edit many coupons in a spreadsheet.
The file can be CSV, XLS or XLSX. The first row must contain the column names. The easiest way is to export your coupons and edit that file. Use these columns:
| Column | Meaning |
|---|---|
id |
Optional. If it matches an existing coupon, that coupon is updated. Leave it empty to create a new coupon. |
plan |
Plan title. For several plans, separate the titles with commas. Leave it empty for all plans. |
code |
The coupon code. Required. |
coupon_type |
0 for percentage, 1 for a fixed amount. |
subscription_type |
subscribe, renew or upgrade. Leave it empty for all types. |
discount |
The discount amount. Required. |
times |
Number of times the coupon can be used. 0 means unlimited. |
max_usage_per_user |
Times one user can use it. 0 means unlimited. |
valid_from, valid_to |
Dates in YYYY-MM-DD format, or empty. |
note |
Internal note. |
published |
1 to publish, 0 to unpublish. |
Rows without a code or a discount are skipped.
Membership Pro shows how many coupons were imported.