I believe it won't work because you're trying to use the captive portal, which is in a different controller, with Meraki.
You can use an external page, but not one that's in another controller, because the controller has a mechanism to redirect to the portal (generally Client connects to SSID and the controller intercepts HTTP and redirects to the splash page), and for that you need to connect to an access point that's connected to it.
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.