WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit e3ab3c4

Browse files
author
Vani Gupta
committed
remove comments
1 parent dee099c commit e3ab3c4

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

crates/hyperswitch_connectors/src/connectors/worldpayxml.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData
281281
None,
282282
Some(worldpayxml::worldpayxml_constants::WORLDPAYXML_DOC_TYPE),
283283
)?;
284-
println!("XML Request: {} >>> ", String::from_utf8_lossy(&connector_req));
285284
Ok(RequestContent::RawBytes(connector_req))
286285
}
287286

@@ -776,7 +775,10 @@ impl ConnectorIntegration<CompleteAuthorize, CompleteAuthorizeData, PaymentsResp
776775

777776
let cookie = worldpayxml::get_cookie_from_metadata(req.request.connector_meta.clone())?;
778777

779-
let mut cookie = vec![(worldpayxml::worldpayxml_constants::COOKIE.to_string(), Mask::into_masked(cookie))];
778+
let mut cookie = vec![(
779+
worldpayxml::worldpayxml_constants::COOKIE.to_string(),
780+
Mask::into_masked(cookie),
781+
)];
780782

781783
header.append(&mut cookie);
782784
Ok(header)
@@ -808,7 +810,6 @@ impl ConnectorIntegration<CompleteAuthorize, CompleteAuthorizeData, PaymentsResp
808810
None,
809811
Some(worldpayxml::worldpayxml_constants::WORLDPAYXML_DOC_TYPE),
810812
)?;
811-
println!("XML Request complete auth : {} >>> ", String::from_utf8_lossy(&connector_req));
812813
Ok(RequestContent::RawBytes(connector_req))
813814
}
814815

crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,7 @@ impl<F>
14141414
.find(|cookie| cookie.trim_start().starts_with("machine="))
14151415
.map(|cookie| cookie.to_string())
14161416
});
1417-
println!("Cookie: {:?} >>> ", cookie);
1417+
14181418
let metadata = cookie.map(|value| json!({ "cookie": value }));
14191419

14201420
let status = common_enums::AttemptStatus::AuthenticationPending;
@@ -1518,7 +1518,7 @@ impl TryFrom<&PaymentsCompleteAuthorizeRouterData> for PaymentService {
15181518
billing_address: None,
15191519
additional_threeds_data: None,
15201520
info_threed_secure,
1521-
session
1521+
session,
15221522
},
15231523
});
15241524

0 commit comments

Comments
 (0)