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
fix(connector): [Trustpay] add merchant_id in gpay session response for trustpay (#3471)
Prasunna Soppa20568dc97668
diff --git a/crates/router/src/connector/trustpay/transformers.rs b/crates/router/src/connector/trustpay/transformers.rsindex 4d8e47ab0d..c266753423 100644--- a/crates/router/src/connector/trustpay/transformers.rs+++ b/crates/router/src/connector/trustpay/transformers.rs@@ -1070,6 +1070,7 @@ pub struct GooglePayTransactionInfo {#[serde(rename_all = "camelCase")]pub struct GooglePayMerchantInfo {pub merchant_name: String,+ pub merchant_id: String,}#[derive(Clone, Default, Debug, Deserialize)]@@ -1290,7 +1291,7 @@ impl From<GooglePayTransactionInfo> for api_models::payments::GpayTransactionInfimpl From<GooglePayMerchantInfo> for api_models::payments::GpayMerchantInfo {fn from(value: GooglePayMerchantInfo) -> Self {Self {- merchant_id: None,+ merchant_id: Some(value.merchant_id),merchant_name: value.merchant_name,}}