File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
crates/router/src/connector/tsys Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -192,12 +192,14 @@ fn get_error_response(
192
192
193
193
fn get_payments_response ( connector_response : TsysResponse ) -> types:: PaymentsResponseData {
194
194
types:: PaymentsResponseData :: TransactionResponse {
195
- resource_id : types:: ResponseId :: ConnectorTransactionId ( connector_response. transaction_id ) ,
195
+ resource_id : types:: ResponseId :: ConnectorTransactionId (
196
+ connector_response. transaction_id . clone ( ) ,
197
+ ) ,
196
198
redirection_data : None ,
197
199
mandate_reference : None ,
198
200
connector_metadata : None ,
199
201
network_txn_id : None ,
200
- connector_response_reference_id : None ,
202
+ connector_response_reference_id : Some ( connector_response . transaction_id ) ,
201
203
}
202
204
}
203
205
@@ -215,7 +217,12 @@ fn get_payments_sync_response(
215
217
mandate_reference : None ,
216
218
connector_metadata : None ,
217
219
network_txn_id : None ,
218
- connector_response_reference_id : None ,
220
+ connector_response_reference_id : Some (
221
+ connector_response
222
+ . transaction_details
223
+ . transaction_id
224
+ . clone ( ) ,
225
+ ) ,
219
226
}
220
227
}
221
228
You can’t perform that action at this time.
0 commit comments