How to test Payment Gateway in E-commerce Website?
In a typical E-commerce website,one should look for following -
Error codes, every transaction type has error codes which are returned from Gateway. Get the list of error codes from development team and the requirements on how to handle each code from business. It will make majority of your test scenarios.
Network errors, latency, timeouts. Use this to make sure that in such cases customer is not charged or appropriate messages are returned from gateway.
Card numbers always follow Luhn’s algorithm. Try to check your application for proper handling of invalid card numbers.
When you hit a gateway your application transfers the user session to a different server. You can check timeouts, session integrity and similar things during this transition phase.
You should put permutation and combination for valid and invalid scearnio upon these variables -
1. Card Number
2. Expiry Date
3. CVV number
4. Billing Details
5. Refund to customer
6. Transaction successful on payment side but not on application
side like while booking IRCTC tickets sometimes you are
charged but ticket is not booked
7. Security Questions (Pass/Fail)
8. Blocked Card
Log in to answer.
Copyright © dBuggr.com - All Rights Reserved.