[Testing Automation] Enhancing 3DS card payment for Adyen connector using Cypress #4316
Replies: 4 comments 9 replies
-
Hey @neerajkumar-n , I am having issue in setting up Adyen test account as it is not accepting a gmail email, Do you have some suggestion to work around it. |
Beta Was this translation helpful? Give feedback.
-
While starting
While starting After following instructions given in the documentation file:
Able to ping |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Closing this discussion, this has been implemented. |
Beta Was this translation helpful? Give feedback.
-
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 Adyen 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 Adyen 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 Adyen 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
Set up a Rust environment and run Hyperswitch locally
Signup and creating a sandbox account on Adyen to get the API Credentials
Configure Connector within Hyperswitch dashboard, you can sign up for Hyperswitch here. You can learn more about configuring Connectors in our documentation here.
Once configured, you can simply test a payment via our dashboard, learn more about it here
How to Implement:
Read and understand the general guidelines on contributing to Hyperswitch
Import postman collection of hyperswitch from here
You can refer to our Documentation here
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