Waiting to purchase Disneyland tickets at the gate is highly risky as Disneyland now utilizes a reservation system and reservations do sell out. If reservations sell out you will not be able to purchase a ticket for that date. 1-day tickets are the same price at the gate as they are online, but you can only get discounts on multi-day tickets online.