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
refactor(connector): [Payme] Remove Default Case Handling (#2719)
Rutam Prita Mishra94947bdb33ca
diff --git a/crates/router/src/connector/payme/transformers.rs b/crates/router/src/connector/payme/transformers.rsindex 4ced1a9bcd..1b7ce27439 100644--- a/crates/router/src/connector/payme/transformers.rs+++ b/crates/router/src/connector/payme/transformers.rs@@ -651,7 +651,20 @@ impl TryFrom<&types::PaymentsAuthorizeRouterData> for PayRequest {language: LANGUAGE.to_string(),})}- _ => Err(errors::ConnectorError::NotImplemented("Payment methods".to_string()).into()),+ api::PaymentMethodData::CardRedirect(_)+ | api::PaymentMethodData::Wallet(_)+ | api::PaymentMethodData::PayLater(_)+ | api::PaymentMethodData::BankRedirect(_)+ | api::PaymentMethodData::BankDebit(_)+ | api::PaymentMethodData::BankTransfer(_)+ | api::PaymentMethodData::Crypto(_)+ | api::PaymentMethodData::MandatePayment+ | api::PaymentMethodData::Reward+ | api::PaymentMethodData::Upi(_)+ | api::PaymentMethodData::Voucher(_)+ | api::PaymentMethodData::GiftCard(_) => Err(errors::ConnectorError::NotImplemented(+ utils::get_unimplemented_payment_method_error_message("payme"),+ ))?,}}}