Starbucks does this, in Canada at least. The gift card (or whatever it is) costs $5 and you get 2 hours of Wifi with it. The trick to circumvent, though, is to use the $5 card to purchase another $5 card. Now you have your original scenario, but four hours of Wifi.