A payment gateway is an ecommerce service that processes credit card payments for online and traditional brick and mortar stores.