Tickets can be purchased at the Travel Centres of the ferry companies. All ferry companies charge a Turn Up and Go fare at the port which is a premium fare and is more expensive than the internet fare. In order to get the cheapest price it's better to book online and in advance.