Skip to content

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

fix(connector): [stripe] use display impl for expiry date (#2359)

Shankar Singh C35622aff7a04
diff --git a/crates/router/src/connector/stripe/transformers.rs b/crates/router/src/connector/stripe/transformers.rs
index d2810d6e3e..962bfe52f0 100644
--- a/crates/router/src/connector/stripe/transformers.rs
+++ b/crates/router/src/connector/stripe/transformers.rs
@@ -1470,7 +1470,7 @@ impl TryFrom<(&payments::WalletData, Option<types::PaymentMethodToken>)>
payment_method_token
{
let expiry_year_4_digit = Secret::new(format!(
- "20{:?}",
+ "20{}",
decrypt_data
.clone()
.application_expiration_date