Skip to content

Commit

Permalink
feat(connector): [Fiserv] update connector_response_reference_id in t…
Browse files Browse the repository at this point in the history
…ransformers (#2489)
  • Loading branch information
sahalsaad authored Oct 9, 2023
1 parent 6d09bf7 commit 4eb7003
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions crates/router/src/connector/fiserv/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,9 @@ impl<F, T>
mandate_reference: None,
connector_metadata: None,
network_txn_id: None,
connector_response_reference_id: None,
connector_response_reference_id: Some(
gateway_resp.transaction_processing_details.order_id,
),
}),
..item.data
})
Expand Down Expand Up @@ -350,7 +352,13 @@ impl<F, T> TryFrom<types::ResponseRouterData<F, FiservSyncResponse, T, types::Pa
mandate_reference: None,
connector_metadata: None,
network_txn_id: None,
connector_response_reference_id: None,
connector_response_reference_id: Some(
gateway_resp
.gateway_response
.transaction_processing_details
.order_id
.clone(),
),
}),
..item.data
})
Expand Down

0 comments on commit 4eb7003

Please sign in to comment.