Stephen Hastie has been ordered to pay compensation to two women he exposed himself to.
The 42-year-old committed the crime in front of the women in Havant on July 4.
Hastie, of Bedhampton Way, Havant, was found guilty after a trial at Portsmouth Magistrates’ Court to exposing himself intending to cause alarm or distress.
He was told to pay £50 to each of his victims and £300 in court costs within two weeks.
The magistrates ordered him to carry out 180 hours of unpaid work in the community within the next 12 months.
Hastie will be on the Sex Offenders’ Register for five years.