A man spent his 45th birthday in the dock after undercover officers caught him dealing drugs in a Morrisons car park.