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
feat(connector): [Trustpay] Add descriptor for card payment method for trustpay (#2256)
Prasunna Soppab9ddc4fb6939
diff --git a/crates/router/src/connector/trustpay/transformers.rs b/crates/router/src/connector/trustpay/transformers.rsindex 515f7cc92f..013bfcdc40 100644--- a/crates/router/src/connector/trustpay/transformers.rs+++ b/crates/router/src/connector/trustpay/transformers.rs@@ -171,6 +171,7 @@ pub struct PaymentRequestCards {pub payment_action: Option<String>,#[serde(rename = "browser[paymentType]")]pub payment_type: String,+ pub descriptor: Option<String>,}#[derive(Debug, Serialize, PartialEq)]@@ -272,6 +273,7 @@ fn get_card_request_data(browser_challenge_window: "1".to_string(),payment_action: None,payment_type: "Plain".to_string(),+ descriptor: item.request.statement_descriptor.clone(),},)))}