A payment gateway is an eCommerce service that processes credit card payments for online and traditional brick and mortar stores. Payment gateways facilitate these transactions by transferring key information between payment portals such as web-enabled mobile devices/websites and the front end processor/bank.
Payment gateways fulfill a vital role in the eCommerce transaction process, authorizing the payment between merchant and customer. Popular payment gateways include PayPal/Braintree,Stripe & Square.
How payment gateways work
When a customer places an order from an online store, the payment gateway performs several tasks to finalize the transaction:
- Encryption: The web browser encrypts the data to be sent between it and the vendor’s web server. The gateway then sends the transaction data to the payment processor utilized by the vendor’s acquiring bank.
- Authorization Request: The payment processor sends the transaction data to a card association. The credit card’s issuing bank views the authorization request and “approves” or “denies.”
- Filling the Order: The processor then forwards an authorization pertaining to the merchant and consumer to the payment gateway. Once the gateway obtains this response, it transmits it to the website/interface to process the payment. Here, it is interpreted and an appropriate response is generated. This seemingly complicated and lengthy process typically takes only a few seconds at most. At this point, the merchant fills the order.