Hi
If you have tried a new cable and it’s still not working it’s going to need a usb c port replacement which isn’t the easiest thing in the world for newer repairers or people without microsoldering experience due to it being soldered to the board
Apart from that a whole main board replacement would be needed to fix the issue
Hopefully this helps
Any questions please ask
Thanks:-)