Payment gateway testing is quite common for the testers who work in the startup or the service industry. I have decided to write this post for those who have asked for the test cases of such gateways in the past.
The current images of the payment gateway options shown below are from the CCavenue’s payment gateway used on one of the leading phone recharge website in india. The options offered in the payment gateway are for Debit card, Credit Card, NetBanking, ATM Card, EzeCard(American Express).
We are going to follow modular approach in order to test the payment gateway options. So for manual testing, let’s start with writing test cases for each of the payment options. First let’s check out the payment gateway options screenshot. This screenshot you can use to write down initial test cases.
As you can see you’re presented with the multiple options for the payment. So the test cases for this part of the payment gateway are as follows.
Default Payment Gateway Options Test Cases
- Check if each of the payment options are selectable.
- Check if the each listed payment option opens the respective payment option as per specification.
- Check if the payment gateway defaults to the debit card option.
- Check if the default option for debit card shows card selection drop down menu.
Debit Card Options Test Cases
- Check if the dropdown menu of the debit card selection page has “select” option text enabled.
- Check if the dropdown menu lists following cards – Visa, MasterCard, American Express etc.
- Check if the respective card selection opens expiry date, card number and CVV options.
- Check if the tab offers an option to save the card.
- Check if the tab offers an option to name the saved card.
Credit Card Options Test Cases
- Check if the card options allows card number, expiry date, cvv value text fields.
- Check if the card options tab allows text to be added into the text fields.
- Check if the number being added into the credit card number field detects the type of card (e.g. visa etc)
- Check if the tab offers an option to name the saved card.
Netbanking Options Test Cases
- Check if the tab offers existing banks to be selected using radio button for netbanking transactions.
- Check if the tab offers options to select other banks than the listed with radiobutton selection.
- Check if the tab offers all the leading banks from the country for the netbanking transactions.
- Check if the tab offers netbanking option for both local and international banks for the transactions.
- Check if the netbanking option has atleast 8 banks for the transaction using radiobutton selection inside tab.
- Check if the selection of the radiobutton or the dropdown menu option takes us to the netbanking.
ATM Card Options Test Cases
- Check if the ATM only card are allowed to be used on this tab.
- Check if atleast 6 banks are used in the tab using the radio button selection.
- Check if atleast one of the dropdown button near the bank logo is selected by default.
- Check if the banks selected allow processing of the transaction using ATM card details.
Cash Card Options Test Cases
- Check if the cash card tab lists itzcash or oxygen as options.
- Check if the default radio button is selected for the itzcash.
- Check if the transactions using cash cards is allowed by the payment gateway.
- Check if the transactions are possible with the cashcards under respective shopping site.
AMEX Ezeclick Options Test Cases
- Check if the EzeClick option lets you link to the external site from which you can perform the rest of the transaction.
- Check if this option is enabled by default.
- Check if this option allows transaction for particular website using the respective payment gateway.
These are some of the test cases which I think should be included in your test design. You can add validation for the text fields. You can also go for the validation for automatic detection of the options.
I can add even more to the above options like checking each bank option and see if the gateway transfers the user to the respective website. Again for sandbox usage and with manual testing this will take a lot of time. But these are pretty much simple enough test cases for the payment gateway.
Feel free to let me know if you have any other suggestions and feedback. I’d appreciate your comments on the test cases.
Mohit sardana says
AWESOME WORK MAN….
Lakshmi Renuka says
HI,
Thanks for the test cases in brief provided along with the screenshots. Keep going.
rajajinan says
Need some more negative scenarios..but its good.
anju says
Thanku for sharing your knowlede with us this will help me a lot
once again thanku for this
anju says
nice one article
i really need require this kind of scenario
thankuuuuuuuuuuuuuuuuuuu a looooottttttttttttt
chethan shetty says
Hi, how can we test the card holder information and sufficient balance
how will i get the environment of bank transaction to send and receive request