Another reason is said, that the badchan is reminding everyone that they are wearing their Shabbos clothing, and they shouldn’t leave money in their pockets and forget to take it out before Shabbos.
The solution is to give the money to the badchan, so you won’t have any problem!