Suspect shot during attempted robbery