test cases payment gateway

How To Write Detail Test Cases For Payment Gateway

Payment Gateway functionality is mostly used by online users who make online purchases and online transactions. The main purpose of testing of payment gateway is to ensure the security, reliability, and performance of payment gateway between users and merchants during the payment. So in this article it shows detail test cases for the payment gateway system.

A Payment Gateway system is mostly used by e-commerce portals for online transactions. The payment gateway has sensitive information such as credit card, debit card, net banking, ATM card details, etc. This kind of information should be passed safely between the online users and vendors. Positive and Negative test cases are mentioned in this article.

GUI Testing:

NoTestcase_IDTest Cases
1TC_01Verify that company logo or name of payment gateway
2TC_02Verify that payment options are displayed or not. for exa credit card, debit card, net banking and upi options
1TC_03Verify that each option is selectable or not.
3TC_04verify that each payment option opens the respective payment window as per specification or not.
4TC_05Verify that dropdown button is working properly or not
5TC_06Verify that all mandatory fields are displayed with red “*” mark or not
6TC_07Verify that validation message for all mandatory fields

Functional Testing:

Test Cases for Credit/Debit Card Options

NoCard numberExpiry dateCVV
1Valid InvalidInvalid
2ValidValidInvalid
3ValidValidValid
4InvalidValidValid
5InvalidInvalidValid
6InvalidInvalidInvalid

Test Cases for Net banking Options

NoTestcase_IDTest Cases
1TC_01Verify that net banking options are available with radio button or not
2TC_02Verify that user is able to select net banking option or not
3TC_03Verify that user is able to proceed with net banking option or not
4TC_04Verify that the user is getting selected net banking interface or not
Test cases for payment gateway

Positive Test cases for Payment Gateway

NoTestcase_IDTest Cases
1TC_01Verify that the user is able to save card information or not.
2TC_02Verify that the user is able to see the correct currency or not.
3TC_03Verify that the user is able to see proceed with null value in the cart.
4TC_04Verify that the user is able to proceed with the blocked card or not.
5TC_05Verify that the user is able to proceed with expired card data or not
6TC_06Verify that the user is able to get a confirmation message for successful payment.
7TC_07Verify that the pop-up window is displayed when the session has expired
8TC_08Verify that the user is able to select a message after an unsuccessful payment.
9TC_09Verify that click on the back button of the browser button while the payment process
10TC_10Verify that payment process when the session gets expired
11TC_11Verify that the user is able to change the language while the payment process

Negative Test cases for Payment Gateway

NoTestcase_IDTest Cases
1TC_01Verify if the payment gateway stops responding while transaction
2TC_02Verify that the Payment Process when the session expires
3TC_03Verify that the payment transaction process while disconnecting network connection 
4TC_04Verify that back button functionality while payment process
5TC_05Verify that refresh button functionality while payment process

More Examples:

Test Cases for Online Shopping

Test Cases for ATM

Scroll to Top