mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-10 23:30:31 +08:00
fix(mandate): allow card details to be provided in case of network transaction id (#1138)
This commit is contained in:
@@ -120,7 +120,9 @@ fn get_pm_and_subsequent_auth_detail(
|
||||
expiration_date: ccard.get_expiry_date_as_yyyymm("-"),
|
||||
card_code: Some(ccard.card_cvc.clone()),
|
||||
}),
|
||||
None,
|
||||
Some(ProcessingOptions {
|
||||
is_subsequent_auth: true,
|
||||
}),
|
||||
None,
|
||||
))
|
||||
}
|
||||
@@ -151,6 +153,7 @@ struct TransactionRequest {
|
||||
currency_code: String,
|
||||
payment: PaymentDetails,
|
||||
processing_options: Option<ProcessingOptions>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
subsequent_auth_information: Option<SubsequentAuthInformation>,
|
||||
authorization_indicator_type: Option<AuthorizationIndicator>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user