juspay / juspay/hyperswitch

Fix `RouterData`'s `response` construction before calling the connector

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
S-awaiting-triage
Dominant language
Rust
Stars
43.7k
Forks
5.1k
Avg merge
2d 20h
Merged PRs (30d)
205

Description

**Visible issue:**
- There are a few cases on response construction and using fields from `router_data.response` while building request, which is logically invalid.

**Changes required:**
- Check inconsistencies and make the connector request construction purely dependent on the `router_data` and `router_data.request`
- Constructing the `router_data.response` only after calling the connector

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.