This sort of scenario was so undesirable that societies must have created money to facilitate trade, argues Smith. Aristotle had similar ideas, and they’re by now a fixture in just about every introductory economics textbook. “In simple, early economies, people engaged in barter,” reads one. (“The American Indian with a pony to dispose of had to wait until he met another Indian who wanted a pony and at the same time was able and willing to give for it a blanket or other commodity that he himself desired,” read an earlier one.)
No, said Mises, for if taken back far enough, there comes a point at which money first emerges as a medium of exchange out of a pure barter economy Prior to this, it is valued only for its non-monetary uses as a commodity The demand for money is therefore pushed back to the last day of barter, where goods are traded only in direct exchange, and where the temporal element of the regression theorem ends It is in this way that all charges of circularity are obviated. 

The Owenite socialists in Britain and the United States in the 1830s were the first to attempt to organize barter exchanges. Owenism developed a "theory of equitable exchange" as a critique of the exploitative wage relationship between capitalist and labourer, by which all profit accrued to the capitalist. To counteract the uneven playing field between employers and employed, they proposed "schemes of labour notes based on labour time, thus institutionalizing Owen's demand that human labour, not money, be made the standard of value."[19] This alternate currency eliminated price variability between markets, as well as the role of merchants who bought low and sold high. The system arose in a period where paper currency was an innovation. Paper currency was an IOU circulated by a bank (a promise to pay, not a payment in itself). Both merchants and an unstable paper currency created difficulties for direct producers.

The man who arguably founded modern economic theory, the 18th-century Scottish philosopher Adam Smith, popularized the idea that barter was a precursor to money. In The Wealth of Nations, he describes an imaginary scenario in which a baker living before the invention of money wanted a butcher’s meat but had nothing the butcher wanted.“No exchange can, in this case, be made between them,” Smith wrote.
On paper, this sounds a bit like delayed barter, but it bears some significant differences. For one thing, it’s much more efficient than Smith’s idea of a barter system, since it doesn’t depend on each person simultaneously having what the other wants. It’s also not tit for tat: No one ever assigns a specific value to the meat or cake or house-building labor, meaning debts can’t be transferred.
Economic historian Karl Polanyi has argued that where barter is widespread, and cash supplies limited, barter is aided by the use of credit, brokerage, and money as a unit of account (i.e. used to price items). All of these strategies are found in ancient economies including Ptolemaic Egypt. They are also the basis for more recent barter exchange systems.[17]
As Orlove noted, barter may occur in commercial economies, usually during periods of monetary crisis. During such a crisis, currency may be in short supply, or highly devalued through hyperinflation. In such cases, money ceases to be the universal medium of exchange or standard of value. Money may be in such short supply that it becomes an item of barter itself rather than the means of exchange. Barter may also occur when people cannot afford to keep money (as when hyperinflation quickly devalues it).[14]