Skip to content

Commit a9b5dc9

Browse files
authored
feat(connector): [Bambora] Use connector_response_reference_id as reference to the connector (#2635)
1 parent 418715b commit a9b5dc9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ impl<F, T>
214214
mandate_reference: None,
215215
connector_metadata: None,
216216
network_txn_id: None,
217-
connector_response_reference_id: None,
217+
connector_response_reference_id: Some(pg_response.order_number.to_string()),
218218
}),
219219
..item.data
220220
}),
@@ -238,7 +238,9 @@ impl<F, T>
238238
.change_context(errors::ConnectorError::ResponseHandlingFailed)?,
239239
),
240240
network_txn_id: None,
241-
connector_response_reference_id: None,
241+
connector_response_reference_id: Some(
242+
item.data.connector_request_reference_id.to_string(),
243+
),
242244
}),
243245
..item.data
244246
})

0 commit comments

Comments
 (0)