How to Test Payment Gateway Functionality?
To test payment gateway functionality is same as test any other functionality. You should have some test strategy during testing it. Following are some points keep in mind during testing of payment gateway.
- Gather appropriate test data for the dummy credit card numbers for various master cards.
- Gather payment gateway information like whether used paypal, guestpay etc.
- Gather payment gateway documents with error codes – useful it if any error came during testing to identify whether its our application fault or payment gateway related error.
- Does the gateway do what it is supposed to do? Does it handle order objects correctly? Does it perform additional calculations correctly?
- Understanding of the integration of the payment gateway with application
- Understand and test the parameters and sessions passed through payment gateway and application
- Understand and test the amount related information passed through query string or session or variables in any form.
- Check the format of the amount with currency format
- Check the language of the application and payment gateway language
- Try to change payment gateway language during the payment process
- Test after successful payment all the necessary data retrieved to our application or not
- Check what happens if payment gateway goes down during the payment process
- Check what happens if payment process went successful but do not return to our application
- Check what happens if session goes time out during the payment process
- Check what happens in backend during the payment process is the session data stored in temporary table or any id is generated or not?
- Check what happens if payment process is fail
- Check if any modification transaction is going on through payment gateway, then how much amount is taken out as modified amount whether required to pay more or not. For example- if modified amount is greater than paid amount then and then only application redirect to payment gateway otherwise it should not.
- Verify DB entries for the transaction whether they store credit card details and all or not
- Verify DB entries for the amount related fields in database for the fresh transaction, modified transaction and canceled transaction.
- Verify error page during payment gateway process
- Verify security passes for the transaction
- Sometimes payment gateway sent confirmation through popup dialogs – so test popup blocker related settings also. What happens is popup blocker is on and all this.
- Check buffer pages between application and payment gateway (firefox firebug add-on will be helpful to test)
Hope guys, it will be helpful to you in your testing. If any new points are there then update it in comments, so I also get update in my knowledge.
Thanks for this excellent article and difficult to find information.
ReplyDeleteBut I want to point out that you've mentioned Paypal and Guestpay.
Paypal is rarely used payment gateway in India, also given it's recurring woes for India customers.
There is no payment gateway by name: Guestpay.
Can you please tell us which all payment gateways options present for Indian webmasters beyond Paypal?
Some are listed in this payment gateways, India website.
-KG
Gestpay is payment gateway, used in Italy country. I had worked with that payment gateway in one of my project.
ReplyDeleteThanks for your insight. Could you please mention list of all payment gateways which support India operations, including international ones? Including Paypal, 2checkout etc.
ReplyDeleteTHanks for the information.Can you explain how to test a payment gateway application used for online trading used in banks and investment companies.
ReplyDeleteI've seen similar article here: http://www.creditcardpaymentgateways.in/how-to-test-payment-gateway-functionality.html .
ReplyDeleteIs it published after your permission?
yes.. on that site.. article is published after my permission.
ReplyDeleteHey, useful post...love the way you have presented the whole detail's...it's
ReplyDeletealways good to read and get to know quality stuff...
Do visit my page and leave a comment if you like any of it...
Techiezens Payment Gateway
Thanks. Very nice article and helped me a lot to performing the testing on payment gateway.
ReplyDeleteHi Trupti Jethva.I have recently joined in one of the software industry as a Test Engineer.I have given finance project.could you please explain me in detail how payment process is going on. I have gone through that still i have some doubts what exatctly role of payment Gateway and payment networks(Master or Visa) and Issuer bank.
ReplyDeleteHi Trupti Jethva.could u pls explain me in detail what would happen internally when we refund the payment transaction and which software is used to avoid the duplicate refund transactions
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis iѕ геally іntereѕting, Υou're a very skilled blogger. I have joined your RSS feed and look forward to seeking more of your great post. Great Post! I will follow your steps during testing of
ReplyDeletePayment Gateway functionality
This comment has been removed by the author.
ReplyDeleteThanks for this great post with helpful information about payment gateway system.
ReplyDeleteWhen we integrate payment gateway services on our ecommerce website on that time we need this functionality for testing.
I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. White Label Merchant Services
ReplyDeleteThis is a smart blog. I mean it. You have so much knowledge about this issue, and so much passion. You also know how to make people rally behind it, obviously from the responses. North American Bancard Agent Program
ReplyDelete