hyperswitch
hyperswitch copied to clipboard
Fix/iframe redirection
Type of Change
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Description
This pull request introduces support for payments redirection inside the iframe functionality .
Key changes include the addition of the is_iframe_redirection_enabled flag in PaymentIntent and business_profile
Added a new next action type RedirectInsidePopup
Enhancements to redirection flow:
- Introduced a new
RedirectInsidePopupaction type in theNextActionTypeandNextActionDataenums to support redirection within a popup.
Additional Changes
- [x] This PR modifies the API contract
- [x] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
Motivation and Context
How did you test it?
Checklist
- [x] I formatted the code
cargo +nightly fmt --all - [x] I addressed lints thrown by
cargo clippy - [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible