There are several ways to earn credits on Pokefarm.org:
If you buy the Good Luck Charm, it boosts the credits you earn from most of these activities — everything except selling items.