eCommerce best practices for payment and checkout

Many customers quit the website when they have difficulties during checkout. And if the problem persists more than three times, they consider it as a bad experience and stop shopping on that website.