I try to charge my razor and it says that the charger is unauthorized even thought ive been using the same one for months
either the charger or the charging port on your phone has been damaged somehow or there is corrision building up in one of them. Moto is notorious for being picky which chargers they use though. if you were using an off brand then it was just a matter of time before it stopped working. I recommend having a tech look at them, maybe just needs some cleaning to get working again, or buy a new charger.
Take the phone back and get something other than a Razor. The Razor is one of the worst choices for a cell phone. Unfortunately consumers buy stuff based on style rather then qualtiy performance which this phone lacks! The Razors have lots of problems and are really fragile. I've never owned one, but everyone I know that has, has had problems or numerous problems with them.