Omada captive portals on iPhone and Android: what breaks and how to make paid WiFi work
By Andrew Westrope, founder of WifiFee · 22 November 2026
A free WiFi portal only has to show a button. A paid one has to get a guest through a card form, Apple Pay or Google Pay, sometimes a bank's 3D Secure check, and back again, all inside the little sign-in window a phone opens when it joins the network. That window was built for clicking "I agree", not for taking money.
This guide covers what breaks on phones, why, and what to check when it does. It comes from building WifiFee's portal for TP-Link Omada, but most of it applies to any external captive portal.
The sign-in window is not the phone's browser
When a phone joins a network that has a captive portal, it opens the portal in a separate mini-browser. On iPhones and Macs this is the Captive Network Assistant (CNA). On Android it is a sign-in window built on a WebView. Both behave differently from Safari or Chrome, and the differences are what break payments:
- They keep their own cookies, which are thrown away when the window closes.
- They close, or stop being useful, once the phone decides it is online.
- Links that would normally open a new tab do not always reach the real browser.
- Some payment methods are missing. On some Android phones, Google Pay is not offered inside the sign-in window, though card payments work.
So the portal has to tell the sign-in window from a real browser, and behave differently in each. Be careful with quick User-Agent checks here: several browsers borrow each other's names, and a check meant for iPhones can easily match Android phones too.
Serve the captive portal over HTTP, not HTTPS
This sounds backwards, but it is the usual answer. The phone does not ask for your portal. It asks for some other address, the network intercepts the request and redirects it to the portal. If that redirect lands on an HTTPS page, the sign-in window can end up with a certificate that does not match, and the guest sees a security warning instead of your plans.
So register the portal with Omada as an http:// URL, and let the web server serve /portal on port 80 while redirecting everything else to HTTPS. Card details never touch that page: payment happens on Stripe's own HTTPS pages. In nginx it looks something like this:
server {
listen 80;
server_name .example.com;
# The captive portal stays on plain HTTP
location /portal {
# pass to your app as usual
}
# Everything else goes to HTTPS
location / {
return 301 https://$host$request_uri;
}
}
If your hosting panel adds its own HTTP-to-HTTPS redirect, make sure this block runs before it, or the redirect will win.
The walled garden: what guests must reach before they pay
Until the controller authorises a device, it can only reach addresses on the pre-authentication list (Omada calls it Pre-Authentication Access; elsewhere it is the walled garden). A payment page loads far more than you would expect.
Alongside the portal's own host, a Stripe Checkout payment needs Stripe Checkout itself, Stripe Link, hCaptcha (which Stripe Checkout uses for bot checks), Google Pay and the card networks' 3D Secure domains. iPhones also want Apple's certificate-check domains before they will treat the portal reliably. That comes to about 25 entries, and several were only found by testing on real phones. Miss one and the symptom is usually a payment page that loads halfway, or a spinner that never ends.
Even a complete list has a limit. A 3D Secure check can send the guest to their own bank's site, and no walled garden can list every bank. Apple Pay needs more than a list allows, too. That is why the next section exists.
A short window online while the guest pays
The cleanest way to let Apple Pay and bank checks work is to give the guest real internet access for a short time while they pay. So when a guest on an iPhone taps Pay, WifiFee lets the device online for a few minutes at a modest speed, long enough to finish paying.
Android behaves differently. Its sign-in window closes as soon as it sees internet, and if that happens before the guest reaches the payment page, they are left with nothing. So Android guests reach the payment page through the walled garden instead.
Without a limit, tapping Pay and walking away would be a way to get free WiFi. WifiFee caps how often a device can get these windows. The Omada external portal API guide covers authorising devices, and the bandwidth limits guide covers speeds.
From the portal to Stripe and back
When Omada sends a guest to the portal, it adds query parameters that identify the device and where it is connected, such as clientMac and site. You need them later to authorise the device, and later is after a trip to Stripe and back. On iOS, the CNA's cookies are destroyed when it closes, so a session cookie is not a safe place to keep them.
The principle is simple: carry the Omada parameters through every step yourself, including the payment and the cancel link, rather than trusting the browser to remember them. Anything that depends on a session cookie, including a framework's form protection, needs a second look.
Then let the payment webhook switch the WiFi on, not the guest's return to the success page. The guest's redirect back can fail, arrive early or never happen. The webhook arrives either way. If the guest lands back first, the success page should wait for the webhook rather than claim success. More on that side in the Stripe WiFi payments guide.
Tip: link the portal to the SSID only. When the portal is linked to both the SSID and the network in Omada, form posts from unauthorised clients can arrive empty, so the Pay button seems to do nothing.
"Success" but no internet
A common report from iPhone guests is a "Success" or "Connected" page with no internet behind it. It nearly always means the controller never authorised the device that is actually connected. Either the phone changed its MAC address (see below), the portal declared success before the payment was confirmed, or access was removed on the controller while the portal still thought the guest was online. Check the controller's client list for that MAC before anything else.
Handing over to the real browser
iPhone
The CNA does not close by itself once the guest has moved between pages, and a delayed redirect will not carry them into Safari. What works is an explicit "Open in Browser" button on the success page, which opens the guest's session status in Safari.
Android and Google Pay
Google Pay is not offered inside Android's sign-in window, and ordinary links do not escape it. So WifiFee offers Android guests a handover to Chrome to pay with Google Pay. Card payment works fine in the sign-in window itself, so guests who do not need Google Pay can stay put.
Private and random MAC addresses
Everything above is keyed on the clientMac Omada reports: the authorisation, the speed limit, the stored session. Omada sends MACs in more than one format, so normalise them before comparing. Modern phones use a private address per network, which is fine as long as it stays the same. If the phone changes it, the controller sees a new device that has not paid. Guests can turn it off under Settings, Wi-Fi, tap the network, then Private Wi-Fi Address on iPhone, or Privacy and Use device MAC on Android.
What Omada does not support
DHCP option 114 and the Captive Portal API (RFC 8908 and RFC 8910) let a phone discover the portal without intercepting a request. Omada only supports DHCP options 60, 66 and 138, so you still depend on interception, and everything above still applies.
Omada captive portal not working? A guest checklist
This is what WifiFee's portal help page tells guests, and it covers most of the reports we see:
- Turn off any VPN. VPNs stop the login page appearing.
- Forget the network and reconnect.
- Turn off the private or random MAC address for this network.
- Open a website in the browser, which can trigger the login page.
- Restart the phone.
- Check you are on the right network.
If paying is the problem, try the free plan first, if the venue offers one. That gets the guest out of the sign-in window, and the link in the confirmation email lets them upgrade from a normal browser.
Captive portal questions
Why does the WiFi login page close on my iPhone before I can pay?
The sign-in window is not Safari. It is a separate mini-browser that the phone closes or replaces once it decides the network is online, and its cookies go with it. A paid portal has to plan for that, either by finishing payment inside the window or by handing the guest over to the real browser.
Why does my iPhone show "Success" but there is no internet?
Usually the controller never authorised the device. Either the phone changed its MAC address, so the controller sees a different device, or the portal said "success" before the payment was confirmed. Let the payment webhook switch the WiFi on, and keep the guest's MAC address stable.
Why does my captive portal show a certificate warning?
The portal is usually reached by intercepting a request the phone made for some other site, so an HTTPS portal page shows up under the wrong name. Serving the portal page over plain HTTP avoids the warning. Payment itself still happens on Stripe over HTTPS.
Which domains does a paid portal need in the Omada pre-authentication list?
The portal host, plus everything the payment page loads before the guest is online: Stripe Checkout, Stripe Link, hCaptcha, Google Pay and the card networks' 3D Secure domains, and Apple's certificate-check domains for iPhones. Even then, a walled garden cannot cover every bank's own 3D Secure page.
Does a private or random MAC address stop the portal working?
Omada authorises a device by the MAC address it reports to the portal. If the phone changes that address, the controller sees a new device. Turning off Private Wi-Fi Address on iPhone, or choosing Use device MAC on Android, keeps it stable.
If you would rather not build this
WifiFee is the portal described here, run as a service for venues on TP-Link Omada. It sets up the guest SSID, external portal and walled garden on your controller and takes payments into your own Stripe account. There is no monthly fee; we take 10% of each payment. See paid captive portal for Omada, or start a free trial.