File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/router/src/connector/coinbase Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ impl<F, T>
136
136
. last ( )
137
137
. ok_or ( errors:: ConnectorError :: ResponseHandlingFailed ) ?
138
138
. clone ( ) ;
139
- let connector_id = types:: ResponseId :: ConnectorTransactionId ( item. response . data . id ) ;
139
+ let connector_id = types:: ResponseId :: ConnectorTransactionId ( item. response . data . id . clone ( ) ) ;
140
140
let attempt_status = timeline. status . clone ( ) ;
141
141
let response_data = timeline. context . map_or (
142
142
Ok ( types:: PaymentsResponseData :: TransactionResponse {
@@ -145,7 +145,7 @@ impl<F, T>
145
145
mandate_reference : None ,
146
146
connector_metadata : None ,
147
147
network_txn_id : None ,
148
- connector_response_reference_id : None ,
148
+ connector_response_reference_id : Some ( item . response . data . id . clone ( ) ) ,
149
149
} ) ,
150
150
|context| {
151
151
Ok ( types:: PaymentsResponseData :: TransactionUnresolvedResponse {
@@ -155,7 +155,7 @@ impl<F, T>
155
155
message : "Please check the transaction in coinbase dashboard and resolve manually"
156
156
. to_string ( ) ,
157
157
} ) ,
158
- connector_response_reference_id : None ,
158
+ connector_response_reference_id : Some ( item . response . data . id ) ,
159
159
} )
160
160
} ,
161
161
) ;
You can’t perform that action at this time.
0 commit comments