diff --git a/crates/router/src/connector/trustpay.rs b/crates/router/src/connector/trustpay.rs index 93fad702a1..d89a7a4f07 100644 --- a/crates/router/src/connector/trustpay.rs +++ b/crates/router/src/connector/trustpay.rs @@ -113,7 +113,7 @@ impl ConnectorCommon for Trustpay { status_code: res.status_code, code: response.status.to_string(), message: format!("{:?}", response.errors.first().unwrap_or(&default_error)), - reason: None, + reason: Some(format!("{:?}", response.errors)), }) } } @@ -242,8 +242,12 @@ impl ConnectorIntegration TryFrom