Most of the payment gateway’s include processing of credit cards. Since I make lot of online transactions, I was curious to know how the validations are being done. One of the development team gave me a macro level overview of how they had integrated credit card processing with payment gateway.

There are two type of validations being performed. One is offline validation and other is online validation. The offline validation checks whether the entered credit card number follows the standard length, numbering logic and expiry date validation. The online validation checks the remaining transaction details, confirms the transaction and returns the approval status.

Happy Development!!!