Skip to content

Commit 4eb7003

Browse files
authored
feat(connector): [Fiserv] update connector_response_reference_id in transformers (#2489)
1 parent 6d09bf7 commit 4eb7003

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

crates/router/src/connector/fiserv/transformers.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,9 @@ impl<F, T>
315315
mandate_reference: None,
316316
connector_metadata: None,
317317
network_txn_id: None,
318-
connector_response_reference_id: None,
318+
connector_response_reference_id: Some(
319+
gateway_resp.transaction_processing_details.order_id,
320+
),
319321
}),
320322
..item.data
321323
})
@@ -350,7 +352,13 @@ impl<F, T> TryFrom<types::ResponseRouterData<F, FiservSyncResponse, T, types::Pa
350352
mandate_reference: None,
351353
connector_metadata: None,
352354
network_txn_id: None,
353-
connector_response_reference_id: None,
355+
connector_response_reference_id: Some(
356+
gateway_resp
357+
.gateway_response
358+
.transaction_processing_details
359+
.order_id
360+
.clone(),
361+
),
354362
}),
355363
..item.data
356364
})

0 commit comments

Comments
 (0)