hyperswitch-web
hyperswitch-web copied to clipboard
refactor: handle redirections for iframed content
Type of Change
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Description
How did you test it?
Tested payment and payout links locally
[Payments] open links (no auth redirections)
https://github.com/user-attachments/assets/ccca6292-a89c-4e4f-9fc6-8cbb41280337
[Payments] open links (with auth redirections)
https://github.com/user-attachments/assets/0ebe3c86-c6eb-450a-8e27-d0274306a033
[Payments] secure links (no auth redirections)
https://github.com/user-attachments/assets/97fc209a-faa7-4f92-892d-1dbb6f8390f3
[Payments] secure links (with auth redirections)
https://github.com/user-attachments/assets/ccc3510c-facb-4b08-a910-1e51f2090480
[Payouts] secure links (with status page redirection)
https://github.com/user-attachments/assets/3aa9f27b-7cf1-4256-8e38-002d7634ccff
Checklist
- [x] I ran
npm run re:build
- [x] I reviewed submitted code
- [ ] I added unit tests for my changes where possible