mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
refactor(core): Add 'redirect_response' field to CompleteAuthorizeData (#1222)
Signed-off-by: chikke srujan <121822803+srujanchikke@users.noreply.github.com>
This commit is contained in:
@ -361,7 +361,10 @@ impl PaymentRedirectFlow for PaymentRedirectCompleteAuthorize {
|
||||
routing_parameters: None,
|
||||
order_details: None,
|
||||
data: masking::Secret::new("{}".into()),
|
||||
payload: Some(req.json_payload.unwrap_or(serde_json::json!({})).into()),
|
||||
redirect_response: Some(api_models::payments::RedirectResponse {
|
||||
param: req.param.map(Secret::new),
|
||||
json_payload: Some(req.json_payload.unwrap_or(serde_json::json!({})).into()),
|
||||
}),
|
||||
allowed_payment_method_types: None,
|
||||
}),
|
||||
..Default::default()
|
||||
@ -950,6 +953,7 @@ where
|
||||
pub pm_token: Option<String>,
|
||||
pub connector_customer_id: Option<String>,
|
||||
pub ephemeral_key: Option<ephemeral_key::EphemeralKey>,
|
||||
pub redirect_response: Option<api_models::payments::RedirectResponse>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default)]
|
||||
|
||||
Reference in New Issue
Block a user