Skip to content

Commit 3d7c6b0

Browse files
feat(connector): [Authorizedotnet] Use connector_request_reference_id as reference to the connector (#2593)
Co-authored-by: DEEPANSHU BANSAL <[email protected]>
1 parent a261f1a commit 3d7c6b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ struct TransactionVoidOrCaptureRequest {
261261
pub struct AuthorizedotnetPaymentsRequest {
262262
merchant_authentication: AuthorizedotnetAuthType,
263263
transaction_request: TransactionRequest,
264+
ref_id: String,
264265
}
265266

266267
#[derive(Debug, Serialize)]
@@ -332,6 +333,7 @@ impl TryFrom<&AuthorizedotnetRouterData<&types::PaymentsAuthorizeRouterData>>
332333
create_transaction_request: AuthorizedotnetPaymentsRequest {
333334
merchant_authentication,
334335
transaction_request,
336+
ref_id: item.router_data.connector_request_reference_id.clone(),
335337
},
336338
})
337339
}

0 commit comments

Comments
 (0)