# Set package code expiry limit

- **Category**: Packages
- **URL**: https://alex-mathai.neetokb.com/articles/set-package-code-expiry-limit

---

NeetoCal allows you to set an expiry limit for each package code. This helps ensure that clients use their purchased sessions within a specific time frame, similar to how discount codes expire. This works the same way for both duration-based and booking-based packages.

Go to **Packages** from the sidebar.

1. Click **Add new package** or click on the three-dot menu to **Edit** an existing one.
2. In the package creation/editing page, scroll below the **Package type** section.
3. You'll find the **Package validity** option where you can set the number of days for which a client can use their package code after purchase.
4. The maximum allowed value is **999 days** (three digits only).
5. This field is **optional**.
   - If left blank, the package code will **never expire**.
   - If filled, the system will automatically calculate the **expiry date** based on the date of purchase.

**Example:**  
If an admin sets _365 days_ and a client buys the package on _October 29, 2025_,  
the package code will be valid till **October 29, 2026**.

### Where expiry details appear

#### 1. Package confirmation page

After a client purchases a package, the confirmation page will show:  
**Package code: ABC123 (valid till October 29, 2026)**  
This helps clients know exactly when their package code will expire.

#### 2. Package confirmation email

The same information appears next to the package code in the confirmation email:  
**Package code: ABC123 (valid till October 29, 2026)**

#### 3. Package purchase history (admin view)

In the admin's **Package purchase history**, you'll see an additional column:  
**Valid till** — showing the expiry date for each purchased package code.

#### 4. Client history

Under each client's profile, the **Package code** section now also displays the expiry date:  
**ABC123 (valid till October 29, 2026)**

### What happens after expiry

Once the expiry date is reached:

- The package code will **no longer be valid** for booking sessions.
- Clients attempting to use an expired code will see an error message indicating that their package has expired.