Psychological factors behind e-commerce

What are the psychological factors behind e-commerce? Consider the point of view of the consumer as well as the seller.