Mikhmon tickets: create and print your MikroTik WiFi tickets with Mikhmon Online
Updated on · MonMikroTik team
With Mikhmon Online, you generate your Mikhmon tickets (WiFi vouchers) in batches, directly on your MikroTik router, then print them with your own template. This guide covers everything: the code format saved for each router, generation, printing and reprinting.
Step 1: check the router's ticket format
Unlike classic Mikhmon, you do not choose the code format at each generation: it is saved in advance for each router, in the router details. All tickets generated on this router (Mikhmon Online v3 or v7, User Manager, mobile app and resellers) follow this format. Your tickets stay consistent, wherever they are created from.
To view or change it, open the target router's page, section Format des tickets (Ticket format). From the generation form, the Modifier dans les détails du routeur (Edit in router details) link takes you there directly.
| Setting | Possible choices | Advice |
|---|---|---|
| Code type | Voucher (a single code, user = password) or User + password | Voucher is the simplest for your customers: only one code to type. |
| Code characters | Digits, uppercase, lowercase, uppercase + digits, lowercase + digits, uppercase + lowercase + digits | Digits only are easy to type on a phone. |
| Length | From 4 to 12 characters | 6 to 8 characters: short enough to type, long enough not to be guessed. |
| Prefix (optional) | Up to 6 letters or digits, added in front of each code | Useful to recognize a site or a series, for example WZ. |
In User + password mode, the password is always made of digits. Click Enregistrer (Save): the new format applies to the next generations; tickets already created do not change.
Example: with the format “Voucher · 6 characters (digits) · prefix WZ”, your tickets will look like WZ482915.
Step 2: generate the tickets
- Open Mikhmon Online on the router, then the Hotspot > Users menu and click Generate.
- Check the Format line: it shows the format saved for this router.
- Fill in the form:
Field Purpose Qty Number of tickets to create. Server Hotspot server concerned, or allfor all of them.Profile The plan sold. Its validity and price are displayed. Time Limit (optional) Maximum connection time of the ticket, for example 2h. Different from the profile validity, which counts the time elapsed since the first login.Data Limit (optional) Maximum data volume, in MB or GB. Comment A marker to find the batch again, for example shop-awaornovember. - Click Generate. The tickets are created directly on the router.
The Last Generate box summarizes the last batch: batch code, date, profile, validity, price and selling price.
Step 3: print the tickets
Right after generation, three buttons let you print the batch:
- Print: the router's default template;
- QR: the same template with a QR code on each ticket;
- Small: the compact small template, to fit more tickets per page.
A print page opens: start your browser's print, or save it as PDF.
Customize the print template
Each router has its own ticket templates: default (used by Print and QR), small (used by Small) and thermal (for thermal printers). In your list of Mikhmon routers, click the router's Templates voucher icon, choose the template type and edit its HTML content: your WiFi zone name, logo, colors, contact number… Save: your next prints use this template. Ready-to-use templates are available in the Télécharger templates (Download templates) menu.
Reprint or find a batch
Each batch gets a comment in Mikhmon format (for example vc-482-11.10.26-shop-awa). In Hotspot > Users, filter by this comment or by profile to find a batch, reprint it or export it. This comment is also what lets Mikhmon scripts compute expiration and record sales.
What about User Manager?
If your hotspot uses User Manager (RouterOS v7), generation is done from the User Manager menu of Mikhmon Online v7. The principle is the same and the same ticket format, defined in the router details, is applied.
Going further
- Sell your tickets online via Orange Money and Moov Money: the customer receives their code automatically;
- Let resellers handle sales: their batches also follow the router's format.
Common problems
| Problem | Solution |
|---|---|
| “Non connecté au routeur” (Not connected to the router) | The platform cannot reach the router. Check the VPN and that the API service is enabled (IP > Services > api). |
| The codes do not have the expected format | Change the Format des tickets (Ticket format) in the router details, then generate a new batch. Tickets already created keep their old format. |
| No profile in the list | First create a user profile (Hotspot > User Profiles menu). |
| Tickets do not expire | The profile has no expiration mode. Edit the profile and choose a validity and an action on expiration. |
| The printout does not have my logo or colors | Edit the router's template with Templates voucher. |