Test Cases For Your E-Commerce Payment Gateway Page - LoginRadius Fuel
Test Cases For Your E-Commerce Payment Gateway Page - LoginRadius Fuel
Test Cases For Your E-Commerce Payment Gateway Page - LoginRadius Fuel
commerce Payment
Gateway Page
Preparing accurate test
cases for payment gateway
is a general task for a tester
working in a service
industry. In this post, I have
discussed some important
scenarios that are inevitable
while performing payment
gateway testing. Also, I have discussed about the important points one should
keep in mind while writing test cases for payment gateway.
Note:- Also, if you want to know how to write the best test cases for a perfect UI
for your website, go through this article.
Shared Gateway
In this type of gateway, the payment is processed while keeping customer
on the merchant site page. As soon as the detail is lled by the customer, a
transaction is processed. Shared gateway is the most preferable gateway as
it provides the convenience of staying in the merchant site. Some of the
examples are Authorize.net CIM and Stripe.
Hosted Gateway
Hosted Gateway is the payment process where the customer is directed to
the payment gateway website. Afterwards, when the transaction is
completed, he or she is redirected to the merchant site.Example:- Setcom,
Paypal Standard, Payza
As you have known the basics about payment gateway, let me tell you what
aspects you should keep in mind while creating test cases for check out page:-
Integration:- You have to check the integration of card and other banking
services with the payment gateway. Though, integration is a part of
functionality, it requires an exclusive check. The payment gateway should
perform the task with high precision whether it bills or pays back.
1. Select
item
2. Apply Applying a valid coupon
TC-
Adding Coupon code coupon code will deduct the
003
code amount accordingly
3. Click on
Add to cart
1. Select
item Applying an invalid
2. Apply coupon code will give an
TC- Adding Invalid Coupon
coupon error message- Invalid
004 code
code Coupon and will not
3. Click on deduct the amount
Add to cart
1. Select
Items
Keeping the site idle for 2. Click on After coming back,
TC-
sometime after adding Add to Cart items should be still
005
products to cart 3. leave the visible in the cart
site for
sometime
1. Select 2-3
Items
2. Click on
TC- Remove items from the Add to Cart After removing one item
008 cart 3. On cart payment should update
page
remove one
item
1. Select 2-3
Items
1. It should not redirect
2. Click on
TC- to payment
Check Cancel Button Add to Cart
009 2. Item should not
3. Click on
remove from cart
cancel
button
1. Select the
card type
Check the Name on Card, 2. Do not ll
It should show the
TC- Card Number,Expiration any
validation message for
010 date, CVV are mandatory information
all the required elds
elds in the 3. Click on
Submit
button
TC- Check the error message 1. Select the It should show error
011 when enter invalid input card type message for invalid
for mandatory elds 2. Enter details
invalid card
number
[Check for
CVV,
Expiration
date]
3. Click on
submit
button
Who istanupriya
Tanupriya is the Quality Analyst Engineer at
LoginRadius. Her passion lies in delivering high
performance quality software quickly and e ciently.
Moreover she also enjoys the cooking and outing in
free time.