Prepaid cards are the most common way to sell internet over a hotspot: the buyer pays a point of sale, gets a card with a username and password, and logs in with them on the hotspot page.
1. Design the template
In Red Radius you design the card template: its size, how cards sit on the page and what each card shows. Every batch after it uses the template.
2. Create a batch
Create a batch from the template. Each card in it is a subscription with its own actions: extend, change the speed or password, the RADIUS log and statistics. You can also change the group, owner or status of the whole batch.
3. Print and sell
Export the batch to PDF for printing, or to Excel, and hand it out to points of sale and agents. Agents can also top up subscribers’ balances from the add-balance page.
4. A QR code on the card
In the template settings you put your login page address with the {username} and {password} placeholders, so each card carries its own QR code. An example for a MikroTik hotspot page:
http://10.5.50.1/login?username={username}&password={password}Replace the address with your network’s hotspot page. The buyer scans the code with their phone camera while on the network and is logged in without typing.
What the router needs
Logging in with the password in the link needs http-pap turned on in the hotspot profile, because http-chap alone needs the login page to hash the password:
/ip hotspot profile set [find] login-by=http-chap,http-papWith http-pap the password travels unencrypted inside your network, so decide for your network, and try the link on one card before printing a whole batch.
More on Hotspot and PPPoE on RADIUS for MikroTik.