Gareth Trainer, 19, and Dale Armstrong, 16, managed to get hold of just £4 before police were called in.
Trainer, of Hawick, Roxburghshire, was given 80 hours' community service at Jedburgh Sheriff Court after admitting obtaining money by fraud on September 13.
Armstrong got a similar sentence at a previous hearing where sheriff Kevin Drummond described the offence as "despicable".
Madeleine, three, disappeared on May 3, 2007, on a family holiday in the Algarve.
Source: Daily Record
Kate and Gerry McCann fraudulently obtained millions of pounds but still no sign of them having to do community service