refactor(payments): add udf field and remove refactor metadata (#1466)

This commit is contained in:
Abhishek Marrivagu
2023-06-18 19:48:14 +05:30
committed by GitHub
parent 8d2057844e
commit 641995371d
12 changed files with 35 additions and 12 deletions

View File

@ -357,9 +357,7 @@ impl PaymentRedirectFlow for PaymentRedirectCompleteAuthorize {
payment_id: Some(req.resource_id.clone()),
merchant_id: req.merchant_id.clone(),
metadata: Some(Metadata {
routing_parameters: None,
order_details: None,
data: masking::Secret::new("{}".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()),