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): 2 digit state code for ach fixed (#8466)
sweta-sharma68db51a37a1b
diff --git a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs b/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rsindex 504635fe07..8eec0abb9f 100644--- a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs+++ b/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs@@ -3018,12 +3018,18 @@ impl.clone().and_then(get_device_fingerprint);- let billing_address =+ let mut billing_address =get_address_info(item.router_data.get_optional_billing()).and_then(Result::ok);let delivery_address =get_address_info(item.router_data.get_optional_shipping()).and_then(Result::ok);let telephone_number = item.router_data.get_optional_billing_phone_number();+ if let BankDebitData::AchBankDebit { .. } = bank_debit_data {+ if let Some(addr) = billing_address.as_mut() {+ addr.state_or_province = Some(item.router_data.get_billing_state_code()?);+ }+ }+let request = AdyenPaymentRequest {amount,merchant_account: auth_type.merchant_account,