The answer to the question is the reciprocity norm.
The reciprocity norm is defined as a norm where we belief that we should repay what other people have done for us. In the case of Mrs. Chanski, she feels obligated to buy the cookies that were sold because she has received free samples of the product, despite knowing that it is a bit too expensive.