Three New Jersey towns are letting people purchase beach badges with their smartphones.

Beachgoers walk up a dune on Memorial Day 2013 in Keansburg, NJ. (Photo by Michael Loccisano/Getty Images)

Sea Isle City, Longport and Ventnor are among the first towns to offer an app that lets visitors make the purchase on the spot.

Sea Isle City chief financial officer Paula Doll tells The Press of Atlantic City people may not have cash, credit cards or checkbooks in their beach bags, but they'll have their phones. She says the app also gives people the chance to purchase beach beaches now at preseason, discounted prices instead of the full price after the season starts.

Sea Isle City earned little more than $1 million from beach badge sales last year.

(Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)