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): [trustpay] Trustpay bankpayment (#11453)
Nithin N1ccc13939d63
diff --git a/crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs b/crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rsindex 879f8b9b1f..bb33cbe8f1 100644--- a/crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs+++ b/crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs@@ -1668,7 +1668,7 @@ impl<F> TryFrom<&TrustpayRouterData<&RefundsRouterData<F>>> for TrustpayRefundRefn try_from(item: &TrustpayRouterData<&RefundsRouterData<F>>) -> Result<Self, Self::Error> {let amount = item.amount.to_owned();match item.router_data.payment_method {- enums::PaymentMethod::BankRedirect => {+ enums::PaymentMethod::BankRedirect | enums::PaymentMethod::BankTransfer => {let auth = TrustpayAuthType::try_from(&item.router_data.connector_auth_type).change_context(errors::ConnectorError::FailedToObtainAuthType)?;Ok(Self::BankRedirectRefund(Box::new(