E-commerce has been a boon for some companies, but has left many small businesses wondering how to adapt. Luckily for them, Square (NYSE: SQ) and Shopify (NYSE: SHOP) make it very simple and affordable for entrepreneurs and companies of all sizes to quickly adapt to consumers' increasing desire to use their mobile wallets at checkout and buy online. Both of these companies have experienced rapid growth in revenue and have delivered big gains for shareholders.