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): [Novalnet] allow debit card MITs (#7956)
Kashif18142a4fdb1f
diff --git a/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs b/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rsindex 2a8b0911dc..a7387a774e 100644--- a/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs+++ b/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs@@ -175,7 +175,9 @@ impl TryFrom<&api_enums::PaymentMethodType> for NovalNetPaymentTypes {fn try_from(item: &api_enums::PaymentMethodType) -> Result<Self, Self::Error> {match item {api_enums::PaymentMethodType::ApplePay => Ok(Self::APPLEPAY),- api_enums::PaymentMethodType::Credit => Ok(Self::CREDITCARD),+ api_enums::PaymentMethodType::Credit | api_enums::PaymentMethodType::Debit => {+ Ok(Self::CREDITCARD)+ }api_enums::PaymentMethodType::GooglePay => Ok(Self::GOOGLEPAY),api_enums::PaymentMethodType::Paypal => Ok(Self::PAYPAL),_ => Err(errors::ConnectorError::NotImplemented(