Captive portal and payment gateway