Voucher Packages in NettPortal are templates that define voucher specifications (time limits, data limits, pricing, and settings) without generating actual voucher codes upfront. When customers purchase a package, a unique voucher is automatically generated and created on your router. Packages are perfect for offering standardized internet access plans to customers through your customer portal, allowing them to purchase vouchers on-demand.
🎯 What is a Voucher Package?
A package is a template that defines what a voucher will include—time limits, data limits, speed limits, pricing, and router settings. Unlike direct voucher generation, packages don't create voucher codes until a customer purchases them. When a customer buys a package from your customer portal, NettPortal automatically generates a unique voucher code and password, creates a Hotspot user on your router, and assigns it to the customer. This approach is perfect for customer self-service, e-commerce integration, or automated voucher distribution.
Packages offer several advantages over direct voucher generation:
Let customers purchase vouchers themselves: Packages enable customers to browse available plans, see pricing, and purchase vouchers directly through the customer portal. No need for manual voucher generation or distribution—customers can buy vouchers on-demand whenever they need internet access.
Vouchers are generated only when purchased: Unlike batch voucher generation, packages don't create voucher codes until a customer makes a purchase. This prevents voucher codes from being exposed before purchase, ensuring security and preventing unauthorized use. Each customer gets a unique voucher code and password when they purchase.
Set prices for each package: Each package can have its own price, allowing you to offer different plans at different price points. Customers see the price in your organization's local currency, and you can set prices to match your business model (free, paid, or subscription-based).
Create reusable voucher templates: Define standard plans once and reuse them for multiple customers. Instead of creating vouchers individually with the same settings, create a package and let customers purchase from it. Perfect for recurring plans, standard offerings, or consistent service tiers.
Vouchers are created automatically on purchase: When a customer purchases a package, a voucher is automatically generated with a unique code and password, a Hotspot user is created on your router, and the voucher is assigned to the customer. The customer can immediately use their voucher credentials to connect to your WiFi.
Creating packages is straightforward. Navigate to the Packages page and click Add Package. You can create multiple packages with different specifications to offer various plans to your customers. Here's what you need to configure:
💡 Tip: Use clear, descriptive names that customers can easily understand. For example, "1 Day - 5GB Package" is better than "Package A".
💡 Tip: If you don't see the profile you need, click "Create Profile" to create a new one without leaving the package creation page.
⚡ What Happens When a Package is Purchased
When a customer purchases a package, NettPortal automatically generates a unique voucher code and password using the package's code generation settings, creates a Voucher record in the system, creates a Hotspot user account on the selected router with the package's settings (time limits, data limits, speed limits, and assigned profile), and assigns the voucher to the customer. The customer receives their voucher code and password immediately and can use them to connect to your WiFi.
Packages support the same settings as vouchers to control access. All limit fields are optional—you can set time limits, data limits, speed limits, or any combination. You must specify at least one limit (time or data) when creating packages:
How long the user can access the internet: Set a time limit in days or hours. Once the time limit expires, the user is automatically disconnected. Useful for temporary access, events, or time-based usage.
Note: Time starts counting when the voucher is created (at purchase), not when it's redeemed.
How much data the user can download and upload: Set a data limit in GB or MB. Once the data limit is reached, the user is automatically disconnected. Useful for data-limited access or bandwidth management.
Note: You must set either a time limit or data limit (or both) when creating packages.
Download and upload speed limits: Control how fast users can download and upload data. Set speeds in Mbps (megabits per second). Useful for controlling bandwidth usage or offering tiered speeds.
Note: Speed limits work alongside the Hotspot Profile if one is assigned. If you assign a profile, the profile's rate limits take precedence.
Set a price for the package: Packages can be free or paid. If you set a price, customers will see it in your organization's local currency when browsing packages. Leave the price empty if vouchers from this package should be free.
💡 Tip: You can offer both free and paid packages to attract different customer segments.
Control how voucher codes and passwords are generated: When a customer purchases a package, a unique voucher code and password are generated. You can customize the format and length of these codes.
💡 Tip: Use a consistent prefix across packages to help customers identify your vouchers. For example, if your organization is "Coffee Shop", use "COF" as the prefix.
When creating packages, you must assign a Hotspot Profile from the selected router when Service Type is Hotspot or Both. Profiles define connection settings like rate limits, timeouts, shared users, and address lists. When a customer purchases a package, the user inherits all settings from the assigned profile.
When you select a router, available Hotspot Profiles are automatically loaded from that router. You can:
Note: Profile selection is required when Service Type is Hotspot or Both. You cannot create a package without a profile for Hotspot services.
⚡ How Profiles Work with Packages
If you assign a Hotspot Profile to a package, the profile's settings (rate limits, timeouts, shared users, etc.) are applied to users when they purchase the package. The package's time and data limits work alongside the profile settings. For example, if a profile has a 100 Mbps rate limit and the package has a 7-day time limit, users get 100 Mbps speed for 7 days. The profile is required for Hotspot services to ensure proper connection settings.
Once you've created packages, you can view and manage them from the Packages page:
The Packages page shows all packages with:
You can edit packages to update their settings, pricing, or status. Changes to packages only affect future purchases—existing vouchers created from the package are not modified. This allows you to adjust package offerings without affecting customers who already purchased vouchers.
Note: If you change a package's router or profile, new purchases will use the updated settings, but existing vouchers remain unchanged.
You can delete packages that haven't been purchased yet. If a package has been purchased (vouchers created from it), it will be soft-deleted (marked as deleted but kept for historical records). Deleted packages are removed from the customer portal and cannot be purchased anymore, but existing vouchers remain functional.
Note: Only packages with no purchases can be permanently deleted. Packages with purchases are soft-deleted for tracking purposes.
Use the "Package is active" toggle to control whether packages appear in the customer portal. Active packages are visible to customers and can be purchased. Inactive packages are hidden from customers but remain in your admin panel for future use or reference.
When customers purchase packages from your customer portal, here's what happens:
Customers can browse available packages from the Browse Vouchers page in the customer portal. They see:
Note: The entire process happens automatically in seconds. Customers get instant access to their vouchers.
After purchasing a package, customers can view their vouchers from the My Vouchers page in the customer portal. They see:
Understanding when to use packages versus direct voucher generation:
Here are some real-world examples of how packages can be used:
Scenario: A coffee shop wants to offer WiFi access to customers. They create packages for different durations.
Scenario: A hotel wants to offer internet packages to guests. They create packages for different stay durations.
Scenario: A co-working space offers daily, weekly, and monthly internet access plans to visitors.
Now that you understand package management: