You can pay for tickets in cash when boarding the bus, by depositing the money in the box next to the driver, but be aware that exact change is required, as the drivers have no access to cash and are unable to give back change. Paying by card is also possible.