Manor Township police say the clerk also recognized 19-year-old Joshua Devonshire as a former classmate when he tried to buy gas early Tuesday morning.
Authorities say Devonshire fled but was spotted later apparently trying to put the stolen credit card back in the car that also belonged to the clerk's mother. He was eventually taken into custody after being spotted sleeping in another car in the same development.
Investigators say they recovered several items from the car that were believed to be stolen.
Devonshire is being held on $3,000 bail.