More businesses and consumers using its "click to pay" option to buy goods and services online helped Mastercard  (MA - Get Report)  post third-quarter earnings and revenue that beat Wall Street forecasts.

The payment-processing giant said earnings for the three months ended in September came in at $2.1 billion, or $2.07 a share, vs. $1.9 billion or $1.82 a share, in the comparable year-ago quarter. Analysts polled by FactSet had been expecting earnings of $2.01 a share. Revenue rang in at $4.5 billion, up from $3.9 billion a year ago and above analysts' forecasts of $4.42 billion.

The company's "click to pay" option for online purchases led to higher credit card transaction volumes and in part fueled the gains, though other efforts including its focus on B2B transactions also helped drive the results.

Mastercard is a holding in Jim Cramer's Action Alerts PLUS member club. Want to be alerted before Jim Cramer buys or sells the stocks? Learn more now.

Save 57% during our Halloween Sale. Don't let this market haunt you and join Jim Cramer's Investment Club, Action Alerts PLUS. Click here to sign up!