Pretty straight forward and easy repair. The problem is probably the replacement charge port. I noticed the majority of the aftermarket charge ports for iPhones have crappy soldering jobs and usually have problems. It's best to replace the charge port with a used original one from eBay. You could isolate the issue by plugging back in the old charge port w/o actually installing it, and see if the phone will take charge. If it does, then it's the new one that's bad.