hyperswitch
hyperswitch copied to clipboard
refactor: send full payment object for payment sync
Type of Change
- [x] Refactoring
Description
Send the full body during a payment sync call when calling connector.
Motivation and Context
When calling a connector during a psync call, if there is a connector error, then payments sync call would send the shorter version.
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 submitted code