Wednesday, September 29, 2010

How to Test Payment Gateway Functionality?

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.

  1. Gather appropriate test data for the dummy credit card numbers for various master cards.
  2. Gather payment gateway information like whether used paypal, guestpay etc.
  3. 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.
  4. Does the gateway do what it is supposed to do? Does it handle order objects correctly? Does it perform additional calculations correctly?
  5. Understanding of the integration of the payment gateway with application
  6. Understand and test the parameters and sessions passed through payment gateway and application
  7. Understand and test the amount related information passed through query string or session or variables in any form.
  8. Check the format of the amount with currency format
  9. Check the language of the application and payment gateway language
  10. Try to change payment gateway language during the payment process
  11. Test after successful payment all the necessary data retrieved to our application or not
  12. Check what happens if payment gateway goes down during the payment process
  13. Check what happens if payment process went successful but do not return to our application
  14. Check what happens if session goes time out during the payment process
  15. Check what happens in backend during the payment process is the session data stored in temporary table or any id is generated or not?
  16. Check what happens if payment process is fail
  17. 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.
  18. Verify DB entries for the transaction whether they store credit card details and all or not
  19. Verify DB entries for the amount related fields in database for the fresh transaction, modified transaction and canceled transaction.
  20. Verify error page during payment gateway process
  21. Verify security passes for the transaction
  22. 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.
  23. 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.

16 comments:

  1. Thanks for this excellent article and difficult to find information.
    But 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

    ReplyDelete
  2. Gestpay is payment gateway, used in Italy country. I had worked with that payment gateway in one of my project.

    ReplyDelete
  3. Thanks for your insight. Could you please mention list of all payment gateways which support India operations, including international ones? Including Paypal, 2checkout etc.

    ReplyDelete
  4. THanks for the information.Can you explain how to test a payment gateway application used for online trading used in banks and investment companies.

    ReplyDelete
  5. I've seen similar article here: http://www.creditcardpaymentgateways.in/how-to-test-payment-gateway-functionality.html .
    Is it published after your permission?

    ReplyDelete
  6. yes.. on that site.. article is published after my permission.

    ReplyDelete
  7. Hey, useful post...love the way you have presented the whole detail's...it's
    always 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

    ReplyDelete
  8. Thanks. Very nice article and helped me a lot to performing the testing on payment gateway.

    ReplyDelete
  9. Hi 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.

    ReplyDelete
  10. Hi 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

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. This 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
    Payment Gateway functionality

    ReplyDelete
  13. This comment has been removed by the author.

    ReplyDelete
  14. Thanks for this great post with helpful information about payment gateway system.

    When we integrate payment gateway services on our ecommerce website on that time we need this functionality for testing.

    ReplyDelete
  15. 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

    ReplyDelete
  16. This 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