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): add expiry year conversion for adyen mit transactions (#6851)

Pa1NarKc154a3855971
diff --git a/crates/router/src/connector/adyen/transformers.rs b/crates/router/src/connector/adyen/transformers.rs
index 6f9fd33ef1..d0dad91f71 100644
--- a/crates/router/src/connector/adyen/transformers.rs
+++ b/crates/router/src/connector/adyen/transformers.rs
@@ -2671,7 +2671,7 @@ impl
.card_exp_month
.clone(),
expiry_year: card_details_for_network_transaction_id
- .card_exp_year
+ .get_expiry_year_4_digit()
.clone(),
cvc: None,
holder_name: card_holder_name,