how do payment gateways work?
 In simple steps, a payment gateway: 1 Captures the credit card transaction. 2 Encrypts the transaction information. 3 Routes it to the credit card processor and then; 4 Returns either an approval or a decline notice. 