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.

Prerequisites: your router has been added to Mikhmon Online and is reachable, and you have at least one user profile (plan) with its price and validity. No profiles yet? The configuration generator can create them for you.

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.

SettingPossible choicesAdvice
Code typeVoucher (a single code, user = password) or User + passwordVoucher is the simplest for your customers: only one code to type.
Code charactersDigits, uppercase, lowercase, uppercase + digits, lowercase + digits, uppercase + lowercase + digitsDigits only are easy to type on a phone.
LengthFrom 4 to 12 characters6 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 codeUseful 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

  1. Open Mikhmon Online on the router, then the Hotspot > Users menu and click Generate.
  2. Check the Format line: it shows the format saved for this router.
  3. Fill in the form:
    FieldPurpose
    QtyNumber of tickets to create.
    ServerHotspot server concerned, or all for all of them.
    ProfileThe 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.
    CommentA marker to find the batch again, for example shop-awa or november.
  4. 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

Common problems

ProblemSolution
“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 formatChange 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 listFirst create a user profile (Hotspot > User Profiles menu).
Tickets do not expireThe 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 colorsEdit the router's template with Templates voucher.

Manage your MikroTik hotspot from the cloud

Mikhmon Online, ticket sales via Orange Money and Moov Money, resellers and VPN. Free sign-up.