Hello, the payment gateway is an intermediary between your online store and the payment processor that receives the payment from your customer. When a customer enters their payment details on your site (this could be their credit card number or any other payment method), the payment gateway securely sends that information to the payment processor. A prime example is the payment gateway at
https://payadmit.com/features/cashier-services/ for e-commerce payment processing.