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
feat(core): Added BankTransfer PaymentMethod for Hyperswitch <> UCS Integration (#10814)
Shubhodip pal6a3650278df6
diff --git a/crates/router/src/core/unified_connector_service.rs b/crates/router/src/core/unified_connector_service.rsindex cc8fb004ea..d8ae2a7eeb 100644--- a/crates/router/src/core/unified_connector_service.rs+++ b/crates/router/src/core/unified_connector_service.rs@@ -879,6 +879,18 @@ pub fn build_unified_connector_service_payment_method(payments_grpc::MultibancoBankTransfer { })),}),+ hyperswitch_domain_models::payment_method_data::BankTransferData::InstantBankTransfer {} =>+ Ok(payments_grpc::PaymentMethod {+ payment_method: Some(PaymentMethod::InstantBankTransfer(payments_grpc::InstantBankTransfer {})),+ }),+ hyperswitch_domain_models::payment_method_data::BankTransferData::InstantBankTransferFinland {} =>+ Ok(payments_grpc::PaymentMethod {+ payment_method: Some(PaymentMethod::InstantBankTransferFinland(payments_grpc::InstantBankTransferFinland {})),+ }),+ hyperswitch_domain_models::payment_method_data::BankTransferData::InstantBankTransferPoland {} =>+ Ok(payments_grpc::PaymentMethod {+ payment_method: Some(PaymentMethod::InstantBankTransferPoland(payments_grpc::InstantBankTransferPoland {})),+ }),_ => Err(UnifiedConnectorServiceError::NotImplemented(format!("Unimplemented payment method subtype: {payment_method_type:?}"))@@ -1035,6 +1047,11 @@ pub fn build_unified_connector_service_payment_method(payments_grpc::RevolutPayWallet { })),}),+ hyperswitch_domain_models::payment_method_data::WalletData::BluecodeRedirect {} => Ok(payments_grpc::PaymentMethod {+ payment_method: Some(PaymentMethod::Bluecode(+ payments_grpc::Bluecode { }+ )),+ }),hyperswitch_domain_models::payment_method_data::WalletData::PaypalRedirect(paypal_redirection,) => Ok(payments_grpc::PaymentMethod {