You can buy tickets at where you wait for the bus, not sure they take credit card though.
Depend on number of passengers in queue, you may have to wait for the next bus. I recall one time I have to wait for more than 30 min so I decided to take the train. It works well if travel lite.