That is indeed part of it, as is the point that people using the likes of Wonga are typically those that don't gave access to more traditional firms of finance, be it bank overdraft or credit card, and are therefore often those with credit problems, and so inherently high risk.
I wouldn't have thought credit unions and payday lenders lent to the same customer type.