Not too long ago, processing customer payments was a simple exercise for small businesses.