Sure, there should be some consequences for not paying it back, but incessant mockery and refusal to pay for McDonald's is probably a fair exchange.
"Give people lots of leeway, but only once" has worked out well so far. People can't fool you into making a big mistake twice, and once is just the cost of doing business^W^Wfriendship.
On the other hand, finding friends past age 30 is hard enough that paying random devs random sums of money isn't that bad of a deal.