hyperswitch
hyperswitch copied to clipboard
fix(core): fill card_network for tokenization flow
Type of Change
- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Description
In network tokenization flow, card network was missing because it is being fetched after cobadge check.
Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
Motivation and Context
How did you test it?
Tested through postman:
- Enable the pg agnostic config
- Make a CIT with setup_future_usage = off_session
- or the same customer make a recurring payment with payment token
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
Changed Files
| File | Status |
|---|---|
| Unsupported file format | |
Closing against https://github.com/juspay/hyperswitch/pull/6825