How to setup automated online credit card processing

There are two paths a business can take to enable automated processing of credit cards over the internet:

Path 1: Using your own merchant account

Path 2: Using a third party merchant account