A payment gateway provides all of the functionality needed to accept credit card, electronic check and other forms of payments. A payment gateway will provide a checkout page where the customer enters their payment details and authorizes payment on the merchant’s website.