In Cascais we had to figure out how to park legally even at the hotel. There are coin operated kiosks where you get a slip of paper to put in the car window but there is also an APP. Donny figured out the app. You make an account and you enter the car license nr and you go to a map and you stand next to your car and it will tell if you are legally parked. Then you touch the image of your parked car and select how much time you need and you hit Park and the account is charged.