Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
refactor(connector): [Fiserv] Mask PII data (#3821)
AkshayaFoiger03cfb735af29
diff --git a/crates/router/src/connector/fiserv/transformers.rs b/crates/router/src/connector/fiserv/transformers.rsindex e2511dc8d5..b8dd3c9643 100644--- a/crates/router/src/connector/fiserv/transformers.rs+++ b/crates/router/src/connector/fiserv/transformers.rs@@ -62,8 +62,8 @@ pub enum Source {},#[allow(dead_code)]GooglePay {- data: String,- signature: String,+ data: Secret<String>,+ signature: Secret<String>,version: String,},}@@ -80,8 +80,8 @@ pub struct CardData {#[derive(Default, Debug, Serialize)]#[serde(rename_all = "camelCase")]pub struct GooglePayToken {- signature: String,- signed_message: String,+ signature: Secret<String>,+ signed_message: Secret<String>,protocol_version: String,}@@ -104,7 +104,7 @@ pub struct TransactionDetails {#[serde(rename_all = "camelCase")]pub struct MerchantDetails {merchant_id: Secret<String>,- terminal_id: Option<String>,+ terminal_id: Option<Secret<String>>,}#[derive(Default, Debug, Serialize)]@@ -428,7 +428,7 @@ pub struct ReferenceTransactionDetails {#[derive(Debug, Default, Serialize, Deserialize)]pub struct FiservSessionObject {- pub terminal_id: String,+ pub terminal_id: Secret<String>,}impl TryFrom<&Option<pii::SecretSerdeValue>> for FiservSessionObject {