The payment processing company Mastercard (NYSE: MA) had a turbulent year in 2020, like most other stocks in the financial sector. But the stock has rebounded since, and overall there seems to be a lot of excitement about the company's future. It began the year trading at $303.39 per share and recently hit $337.36, representing a gain of about 11.2%. So if you had invested $1,000 in Mastercard stock at the beginning of the year, you would now have about $1,112. You are not going to retire with that money, but you should still feel good about the gain, considering the numerous obstacles from the coronavirus pandemic. Image source: Mastercard. The S&P 500 index is up about 14.4% year to date, so while the stock came up short of that benchmark, it fared much better than a lot of companies in the financial sector. Additionally, I think Mastercard will likely benefit long term from the digital trends that will develop as a result of the pandemic. Although you may think of Mastercard as a credit card company that makes loans, it does not actually extend credit, but makes money by charging fees on payment transactions made on its branded cards. The company suffered earlier in the year from reduced payment volume brought on by limited physical interaction and lockdowns all over the world. But Mastercard is well positioned to take advantage of the shift by merchants and customers to a world that is more reliant on digital payments. 10 stocks we like better than MastercardWhen investing geniuses David and Tom Gardner have a stock tip, it can pay to listen. After all, the newsletter they have run for over a decade, Motley Fool Stock Advisor, has tripled the market.* David and Tom just revealed what they believe are the ten best stocks for investors to buy right now... and Mastercard wasn't one of them! That's right -- they think these 10 stocks are even better buys. See the 10 stocks *Stock Advisor returns as of November 20, 2020 Bram Berkowitz has no position in any of the stocks mentioned. The Motley Fool owns shares of and recommends Mastercard. The Motley Fool has a disclosure policy.Source