What is the difference between a magstripe and a barcode?
Not much. Both are mechanisms for embedding a number that references a record in a database on a software system. Magstripes are read by magstripe readers while barcodes are read by barcode scanners.