You mean a cashier at Walmart who happens to be working for Target and you
thought you were going to Walmart and was prepared to pay Walmart but later you get a separate bill from Target because you were lucky enough to get assigned to a Target cashier when you were checking out at Walmart.