Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(Cypress): Fixing 3DS payment failure in headless mode #4807

Merged
merged 4 commits into from
May 29, 2024

Conversation

Gnanasundari24
Copy link
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

3DS payments were failing in the refund test in Cypress headless mode. I added the timeout and properly configured the hooks to fetch the redirection URL correctly.

Motivation and Context

To ensure the test runs successfully without any failures in the CI/CD pipeline.

How did you test it?

Tested locally in the headless mode

Stripe

Screenshot 2024-05-29 at 1 41 57 PM

Cybersource
Screenshot 2024-05-29 at 2 45 53 PM

NMI
Screenshot 2024-05-29 at 3 09 28 PM

Adyen

Screenshot 2024-05-29 at 3 17 36 PM

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

@Gnanasundari24 Gnanasundari24 added A-CI-CD Area: Continuous Integration/Deployment C-test Category: Tests labels May 29, 2024
@Gnanasundari24 Gnanasundari24 added this to the May 2024 Release milestone May 29, 2024
@Gnanasundari24 Gnanasundari24 self-assigned this May 29, 2024
@Gnanasundari24 Gnanasundari24 requested review from a team as code owners May 29, 2024 10:09
@Gnanasundari24 Gnanasundari24 linked an issue May 29, 2024 that may be closed by this pull request
2 tasks
@likhinbopanna likhinbopanna added this pull request to the merge queue May 29, 2024
Merged via the queue into main with commit b335867 May 29, 2024
10 checks passed
@likhinbopanna likhinbopanna deleted the Fix_3ds_flows branch May 29, 2024 12:00
ghost pushed a commit that referenced this pull request May 29, 2024
…actor

* 'main' of github.com:juspay/hyperswitch: (39 commits)
  Fix(Cypress): Fixing 3DS payment failure in headless mode (#4807)
  feat(users): Add redis in Begin and Verify TOTP and create a new API that updates TOTP (#4765)
  refactor(connector): [Klarna] Refactor Authorize call and configs for prod (#4750)
  fix: implement StrongEq for Vec<u8> (#4795)
  refactor(core): move router data response and request models to hyperswitch domain models crate (#4789)
  chore(version): 2024.05.29.0
  refactor: retrieve extended card info config during business profile get call (#4784)
  refactor(payment_methods): add support for passing ttl to locker entries (#4690)
  feat(connector): [CRYPTOPAY] Pass network details in payment request (#4779)
  fix: include client columns in payment attempts response struct (#4761)
  fix(docker-compose): fix docker compose syntax (#4782)
  feat(connector): [Iatapay] add upi qr support (#4728)
  docs(analytics): Add documentation for setting up data services and enabling data features in control center (#4741)
  chore(version): 2024.05.28.0
  feat(connector): [AUTHORIZEDOTNET] Implement non-zero mandates (#4758)
  feat(core): [Paypal] Add session_token flow for Paypal sdk (#4697)
  chore(version): 2024.05.27.0
  chore: add missing migrations for recently added currencies (#4760)
  Refactor(core): Inclusion of constraint graph for merchant Payment Method list (#4626)
  chore(version): 2024.05.24.1
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CI-CD Area: Continuous Integration/Deployment C-test Category: Tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Fixing 3DS payment failure in headless mode
4 participants