I bought a brand-new (full price) DualShock 3 about 8 years ago directly from Amazon and was unable to get it to connect to my PS3 at all. Annoyed, I opened it up only to find a generic lithium battery covered in green plastic and various parts that I've never seen in any of my other controllers. Luckily Amazon accepted my return and sent me a replacement.
Amazon has been full of third party junk since at least 2011. It sucks if you need something quick like a controller.