You are right that the black market is shady. If the trade were legalized conditions could improve significantly as legitimate doctors replaced these black market operators. The process would be no more dangerous to paid “donors” than a transplant operation is to voluntary donors here.
And it’s unfortunate that they have to sell their body parts to survive, but that’s life in India. What’s your alternative—let them die because this practice seems grotesque to you?