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:
No
Testcase_ID
Test Cases
1
TC_01
Verify that company logo or name of payment gateway
2
TC_02
Verify that payment options are displayed or not. for exa credit card, debit card, net banking and upi options
1
TC_03
Verify that each option is selectable or not.
3
TC_04
verify that each payment option opens the respective payment window as per specification or not.
4
TC_05
Verify that dropdown button is working properly or not
5
TC_06
Verify that all mandatory fields are displayed with red “*” mark or not
6
TC_07
Verify that validation message for all mandatory fields
Functional Testing:
Test Cases for Credit/Debit Card Options
No
Card number
Expiry date
CVV
1
Valid
Invalid
Invalid
2
Valid
Valid
Invalid
3
Valid
Valid
Valid
4
Invalid
Valid
Valid
5
Invalid
Invalid
Valid
6
Invalid
Invalid
Invalid
Test Cases for Net banking Options
No
Testcase_ID
Test Cases
1
TC_01
Verify that net banking options are available with radio button or not
2
TC_02
Verify that user is able to select net banking option or not
3
TC_03
Verify that user is able to proceed with net banking option or not
4
TC_04
Verify that the user is getting selected net banking interface or not
Positive Test cases for Payment Gateway
No
Testcase_ID
Test Cases
1
TC_01
Verify that the user is able to save card information or not.
2
TC_02
Verify that the user is able to see the correct currency or not.
3
TC_03
Verify that the user is able to see proceed with null value in the cart.
4
TC_04
Verify that the user is able to proceed with the blocked card or not.
5
TC_05
Verify that the user is able to proceed with expired card data or not
6
TC_06
Verify that the user is able to get a confirmation message for successful payment.
7
TC_07
Verify that the pop-up window is displayed when the session has expired
8
TC_08
Verify that the user is able to select a message after an unsuccessful payment.
9
TC_09
Verify that click on the back button of the browser button while the payment process
10
TC_10
Verify that payment process when the session gets expired
11
TC_11
Verify that the user is able to change the language while the payment process
Negative Test cases for Payment Gateway
No
Testcase_ID
Test Cases
1
TC_01
Verify if the payment gateway stops responding while transaction
2
TC_02
Verify that the Payment Process when the session expires
3
TC_03
Verify that the payment transaction process while disconnecting network connection
4
TC_04
Verify that back button functionality while payment process
5
TC_05
Verify that refresh button functionality while payment process