Before you click ‘Buy,’ know how to shop safely online this festival season and protect your gadgets from scams and delivery fraud.