[CYPRESS] Add e2e test for card payment for Automatic Capture for Stripe
The Hyperswitch SDK is a versatile tool built to streamline payment integration for developers. It simplifies the process of adding multiple payment methods, allowing you to quickly implement support for various gateways without the need to manually integrate each one. With Hyperswitch, you can efficiently manage payments across platforms, reducing complexity and boosting development speed.
Pre-requisites: Please follow the README for guidelines on file structure, formatting and instructions on how to set up and run Cypress.
Description:
This task involves adding a cypress e2e test for card payment for Automatic Capture for Stripe
🔨 Possible Implementation Locate the element for this payment method, perform the click action on it and assert whether redirection happens success.
Contribution Guidelines:
- Fork the repository and create a new branch for your work.
- Ensure the WebSDK follows best practices for API integration and field rendering.
- Write clean, well-documented code with clear commit messages.
- Make sure to follow our coding standards and contribution guidelines.
Helpful Resources:
- Link to WebSDK documentation: WebSDK Docs
- Link to the API endpoint specifications: API Docs
If you have any questions or need help getting started, feel free to ask in the comments!
🔖 Note: Once assigned, please drop a mail for required credentials at [email protected]
Submission Process:
- Ask the maintainers for assignment of the issue, you can request for assignment by commenting on the issue itself.
- Once assigned, submit a pull request (PR).
- Maintainers will review and provide feedback, if any.
- Maintainers can unassign issues due to inactivity, read more here.
Refer here for Terms and conditions for the contest.
Hii, I'd like to work on this issue, assign it to me.
@Sanskar2001 @gorakhnathy7 Hi, I want to work on this issue please assign me.
@Sanskar2001 @gorakhnathy7 Interested ,Please assign it to me.
Hey @Shriyansh-20 Assigning this issue to you, as fellow contributors have already been assigned other issues. thanks for your interest.
Hey @Shriyansh-20
Kindly let us know, if you're still working on the issue? If you have any questions or need assistance, feel free to reach out in the community.
@gorakhnathy7 , I went through the codebase but had trouble locating the exact page(for Stripe) for which we must write the test required here. Could anyone please help me out here? I also tried locating any similar tests for other clients, such as paypal, but still faced some issues.
Hi @Shriyansh-20 Please proceed by creating a payment with the appropriate body structure we provided, and then execute a card payment using a suitable Stripe test card. Contact at [email protected] if you have any query related to create payment payload or payment flow