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.”
30 Jan 2023: Sean Dyche appointed Everton manager with club 19th in the Premier League and two points from safety.28 May 2023: Everton beat Bournemouth to avoid
'A unique day' - Bainespublished at 22:31 Greenwich Mean Time22:31 GMTFT: Everton 2-0 PeterboroughEvertonEverton caretaker manager Leighton Baines, speaking to
Arsenal host defending champions Manchester United in the marquee clash of the 2024/25 FA Cup third round.
The latest row erupted after the president-elect's son, Donald Trump Jr, visited Greenland's capital, Nuuk.In response, Denmark's Prime Minister Mette Frederiks