Sheriff Peter Paterson told Hogg the sentence was an alternative to custody.
The payback order will be reviewed for compliance on 25 March at Jedburgh Sheriff Court.
Hogg made no comment as he left court accompanied by his parents.
Montpellier Rugby Club – where he now plays – have made no official statement but the BBC understands that the club want him to carry on playing for them.
Lynne Barrie, procurator fiscal for Lothian and Borders, said Hogg had now been “held accountable for subjecting his estranged wife to years of domestic abuse”.
She said the Crown Office recognised the “devastating impact of domestic abuse” and was committed to the “robust prosecution of offences, regardless of who the offender is”.
“No-one should have to live in fear of a partner or former partner,” she added.
“The trauma suffered by victims – and children who witness these crimes – is significant.
“I would urge anyone affected by similar offending to come forward and report it.”
Last year, Ola's life was once again turned upside down when her mother, a doctor, was called back to Ukraine to help in a hospital."I have never lived alone,"
Dr Jackie Davies, from RAL Space, said the latest mission built on the company's "extensive heritage in leading, and contributing to, solar and solar wind imagi
Defeat at the qualifying stages of the Champions League in August had limited Clement's summer transfer budget amid a worsening financial picture off the pitch.
After the collapse of Olaf Scholz's three-party coalition late last year, Merz had asked the electorate for a strong mandate to form a clear-cut coalition with