diff --git a/crates/router/src/connector/trustpay/transformers.rs b/crates/router/src/connector/trustpay/transformers.rs index 4d8e47ab0dc3..c266753423e9 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 for api_models::payments::GpayTransactionInf impl From 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, } }