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): [Airwallex] convert expiry year to four digit (#2527)
SamraatBansal4b0fa1295ca8
diff --git a/crates/router/src/connector/airwallex/transformers.rs b/crates/router/src/connector/airwallex/transformers.rsindex ecdddfb367..2e3afdf262 100644--- a/crates/router/src/connector/airwallex/transformers.rs+++ b/crates/router/src/connector/airwallex/transformers.rs@@ -6,7 +6,7 @@ use url::Url;use uuid::Uuid;use crate::{- connector::utils,+ connector::utils::{self, CardData},core::errors,pii::Secret,services,@@ -140,9 +140,9 @@ impl TryFrom<&types::PaymentsAuthorizeRouterData> for AirwallexPaymentsRequest {}));Ok(AirwallexPaymentMethod::Card(AirwallexCard {card: AirwallexCardDetails {- number: ccard.card_number,+ number: ccard.card_number.clone(),expiry_month: ccard.card_exp_month.clone(),- expiry_year: ccard.card_exp_year.clone(),+ expiry_year: ccard.get_expiry_year_4_digit(),cvc: ccard.card_cvc,},payment_method_type: AirwallexPaymentType::Card,