Some Test Case reference for electronic payment gateway

Tram Ho

Source link: https://blog.testlodge.com/how-to-write-test-cases-for-software-with-sample/

Testing electrical payment gateway testing is now very popular for testers working in startup environment or service industry. Here are some test cases and test scenarios for such electronic payment gateways.

Testing e-payment gateway is what?

Payment gateway system is an e-commerce application service that accepts credit card payments for online purchases. Payment gateway protects credit card details by encrypting sensitive information such as credit card numbers, account holder details, etc. This information is transmitted securely between customers and merchants and vice versa.

Modern payment gateways also securely accept payments via debit cards, electronic bank transfers, cash cards, reward points, etc.

Types of electronic payment gateways

2 types:

  • ** Hosted payment gateway (hosted payment gateway) **

Stored payment gateway system directs customers from an e-commerce website to the portal link during the checkout process. After payment is completed, it will return the customer to the e-commerce website. For example: PayPal, Noche and WorldPay.

  • Shared payment gateway (Shared payment gateway):

In a shared payment gateway, during processing, payment customers are redirected to the payment page and remain on the e-commerce website. When payment details are filled out, the payment process is processed. Since it does not leave the e-commerce site while processing payment, this mode is easier and, better yet, an example of a shared payment gateway is eWay, Stripe.

Types of testing for payment gateway

Functional testing : This is an action to check the basic functionality of the payment gateway. It is to verify that the application works properly like processing orders, calculating, adding VAT by country, etc.

Integration (Intergration) : Check integration with your credit card service.

Performance : Define various performance metrics such as the highest number of users that can arrive through ports on a particular day …

Security testing (Security testing) : A thorough testing of security against the payment gateway is extremely necessary.

How to test the Payment Gateway

Before you begin testing, you need to do the following:

  • Collect appropriate test data for fake credit card numbers for maestro, visa, master, etc.
  • Gather payment gateway information like Google Wallet, Paypal or others
  • Collect payment gateway documents with error codes
  • Understand the session and parameters passed through the application and payment gateway
  • Understand and check the amount of relevant information transmitted through the query string
  • Check various payment gateway settings such as currency format, data collected.

Some notes for payment gateway testing

  • During the checkout process, try to change the payment gateway language
  • After successful payment, check all the relevant components, whether or not it can be accessed
  • Check what happens if payment gateway stops responding while paying (not responding)
  • Check to see if the session ends, what happens
  • During the checkout process, check how the back-end works
  • If the payment process fails, how will the system handle it?
  • Do credit details remain in the database?
  • During checkout, check security pages and error pages (error payment …)
  • Check the popup settings, check the on / off of the popup
  • Successful payment check, successful code sent to the application and showing the confirmation page to the user
  • Verify whether the transaction processes are carried out immediately or processed assigned to the bank.
  • After successful transaction, check whether you can return to the application immediately or not?
  • Check all formats and messages when payment is successful
  • Email notification to the owner for any transactions made. Encrypt the content of the email
  • Check that the amount format matches the currency format
  • Check if each payment option is selectable (click on)
  • Check that each payment method option matches the characteristics of that payment type
  • Verify the payment gateway is the default for the desired debit / credit card option

The article is referenced from the source: https://www.guru99.com/payment-gateway-testing-tutorial-with-sample-test-cases.html

Share the news now

Source : Viblo