Ps3 controller issue

Most likely, yes. There is a chance that the pins are just not making good contact, if the cord is new and it's not charging, the only way to fix that would be replacing the hardware in the charge port on the controller itself.