What sort of weird gas station requires you to specify the amount of gas before actually refueling your car? Is that a USA-only thing? Never seen that in Europe.
That said, you do specify the amount of gas if you're paying cash here in the US. You go inside, say "here's $20", and the pump will dispense exactly that.
It's worth noting that it wasn't that way the entire time I was growing up. You would pump first then pay the cashier. It wasn't until around 2005ish that I noticed signs instructing cash customers to prepay.