Some payment providers in some regions even offer this as a payment option, e.g. Payfast in South Africa.
Sometimes it's also about what systems customers are used to, or fees with each method.
If bank transfer is the only option, it's usually for businesses that payment providers won't touch (even if not illegal).