General rule: An agreement which is supported by consideration is not binding as a contract if it was made without any intention of creating legal relations.
Again we are back to intention. If the parties did not intend there to be a legal binding agreement between them, then although there may well be offer, acceptance and consideration present there will be no contract.