hyperswitch
hyperswitch copied to clipboard
refactor(cypress): fix adyen ideal bank redirect and refactor `handleFlow`
Type of Change
- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [x] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Description
This PR fixes adyen ideal bank redirect and also refactor handle flow function to simplify the complexity to work with.
Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
Motivation and Context
fixes ideal bank redirect for adyen.
How did you test it?
by running the test for adyen:
ci should pass.
Checklist
- [x] I formatted the code
npm run format - [x] I addressed lints thrown by
cnpm run lint -- --fix - [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible