An introduction to e-commerce