A payment gateway is a server that is dedicated to linking websites and banks so that online credit card transactions can be completed in real-time.