If it's an open lot you have to pay daily (and SUPER early or else you get towed). If it's a closed/secured lot, you can generally pay when you leave. However you need to check with how/when/where you pay because each one is different. I ended up paying a 'machine fee' because I used the auto-checkout instead of the guy in the pay-box.
Re: parking