Step 7 of 7
Using your own login page
Keep your design and add the mobile money button.
Have your own login page design? Keep it, and add a button that takes customers to Kawifi's mobile money purchase.
- Get your router's button
Captive portal›Using your own login page instead?
- Add it to your login.html
Paste it where you want the button. MikroTik fills in the
$(…)values for each phone. - Upload your page
And paste the lines in The hotspot settings except the last one.
<a href="https://app.kawifi.net/buy/your-isp/?r=your-router-id&nas=$(identity)&mac=$(mac-esc)&ip=$(ip)&login=$(link-login-only-esc)&dst=$(link-orig-esc)"> Buy internet with mobile money </a>
Copy your own from the Captive portal page: it has your ISP and router filled in.
Prices and campaigns for each router are also available as JSON, without signing in, if you want to show them on your page. The link is on the Captive portal page.