Chosen Solution

I have an iPhone 7 Plus that only charges with a specific 3rd party charger. I have an Original Apple charger and it says it won’t charge but when I try it on other phones it still works. I’ve swapped the battery twice, the original and neither of these new batteries fixed the problem and I know that these batteries have charge. So every time I plug in an Original or different chargers (Except for this specific charger that I have) it won’t charge or at least say that it is charging. Something else too. I left it charging all night with a different charger but it still said it was dead, so when I took out the battery and put it back, it said 100%. Could it be a charger port failure or?

This will more than likely be a faulty charging IC known as Tristar. It will have to be replaced by a reputable repair shop that offers microsoldering.