You need a payment gateway in order to securely accept credit and debit card payments from your customers, both online and in person. The payment gateway ensures payment data is securely transmitted from the customer to the merchant, protecting all entities involved.