Buying AC online is completely safe. Make sure that you buy it from authorized sellers on Amazon and Flipkart.
You would get better prices online than offline stores. I bought my LG inverter split AC online too. It's working perfectly.