A Hibs employee sold match tickets to football fans before pocketing the cash.
Judith Todd, 38, has been ordered to carry out 250 hours of community service for the scam which saw her steal £3800.
On Wednesday, Edinburgh Sheriff Court heard Todd took advantage of the system for away fans tickets.
She targeted games at Easter Road against Dundee United and St Johnstone in September and October 2011.
The court heard when the unsold tickets were returned to Easter Road, Todd would put them aside and then sell them onto football fans at match day and take the cash for herself.
Todd, from Penicuik, Midlothian, pleaded guilty to fraud last month.
Sheriff Scott sentenced her on Wednesday after hearing about Todd’s mental health problems.
Defence solicitor Iain Tweedie submitted a letter from Todd’s mental health nurse and said his client felt remorse for what she had done.
He added: "It will have an impact on her mental health. She has sought to co-operate with the authorities. There is a very little likelihood that she will re-appear in court again."
Passing sentence, Sheriff Scott said: "This is a very serious matter - to steal from your employer is a very serious breach of trust. However, I am persuaded that you were under substantial pressure in relation to your mental health problems and finances."
People who read this story also read
- Row after historical Rangers tour is refused place at festival
- MP to head fan-based group's bid to buy out Heart of Midlothian
- Armed robber caught after taking taxi to carry out bookmakers raid
- Buchanan Galleries set for £300m revamp creating 1700 new jobs
- By-election held after councillor dies following long illness