That is definitely not the key for that car then, I would guess that someone has mixed up 2 sets of keys
I would guess your BMW Dealer would charge about £150 (that is a guess) so check with them, at least you have a working key so can use the car while saving your hard earned cash. That is unless the seller says woops and has the other.
Good Luck
Dave