[Testing Automation] Enhancing 3DS card payment for Noon connector using Cypress #4314
Closed
neerajkumar-n
started this conversation in
General
Replies: 2 comments 1 reply
-
@neerajkumar-n, when I try to set up a development environment using Docker Compose, I'm getting an error response when I try to test the endpoint:
Could you help me set up the development environment here? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Closing this discussion, this has been implemented. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context:
Ensuring the smooth operation of our payment processing system is crucial for the success of our application. One of the Connectors we rely on is Noon payment gateway and we use this for handling transactions, focusing on both one-time payments & Subscription/repeat transactions.
Our current testing framework lacks comprehensive coverage for both one-time & Subscription payment scenarios with the Noon connector. We currently use Newman for automation testing but have encountered challenges. Maintaining separate collections for different connectors has become burdensome, requiring manual verification of every flow for each connector with every change. Newman's inability to handle redirection flows, like 3DS flows, and its limitations in testing other payment methods such as wallets and bank transfers, further compound our testing efforts. Recognizing the inefficiency and limitations, we acknowledge the need to transition to Cypress.
By automating our testing processes using cypress, we aim to streamline workflows, improve efficiency, and address the shortcomings encountered with our current automation testing, ensuring a more robust and reliable testing strategy moving forward. We are committed to enhancing our testing strategy by incorporating dedicated test scenarios specifically targeting one-time payments within the Noon connector. By doing so, we aim to ensure that all aspects of one-time payments, including transaction initiation, authorization, and confirmation, are thoroughly tested and validated for card payments.
In summary, by prioritizing the enhancement of our testing framework to include one-time payment scenarios, we reaffirm our commitment to quality, reliability, and continuous improvement in our payment processing ecosystem. This approach will enable us to identify and rectify potential issues before they impact our users' experience.
How to get started
How to Implement:
Expected Outcomes:
Testing Procedure for Card Payment Authentication (authentication_type: three_ds)
Initiate Card Payment with Three-DS Authentication:
Verification of Response Link:
Complete Authentication and Redirect:
Verification of Payment Status:
Failed Authentication Handling:
Submit a pull request to the juspay/hyperswitch repository including the relevant screenshots of the test cases.
Brownie Points: Providing clear and comprehensive documentation and code comments.\
Note: We welcome multiple PRs for this problem statement
Additional Resources:
If you face any issues/challenges while using Cypress, we recommend you to refer to their documentation
Here is a test case that we have already worked upon for your reference.
You can read more about 3DS here
Beta Was this translation helpful? Give feedback.
All reactions