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): [Volt] change error message from NotSupported to NotImplemented (#2878)
Brian Silahde8e31b70d9b
diff --git a/crates/router/src/connector/volt/transformers.rs b/crates/router/src/connector/volt/transformers.rsindex efed7c797c..6f4c67dce8 100644--- a/crates/router/src/connector/volt/transformers.rs+++ b/crates/router/src/connector/volt/transformers.rs@@ -130,10 +130,9 @@ impl TryFrom<&VoltRouterData<&types::PaymentsAuthorizeRouterData>> for VoltPayme| api_models::payments::BankRedirectData::Trustly { .. }| api_models::payments::BankRedirectData::OnlineBankingFpx { .. }| api_models::payments::BankRedirectData::OnlineBankingThailand { .. } => {- Err(errors::ConnectorError::NotSupported {- message: utils::SELECTED_PAYMENT_METHOD.to_string(),- connector: "Volt",- }+ Err(errors::ConnectorError::NotImplemented(+ utils::get_unimplemented_payment_method_error_message("Volt"),+ ).into())}},@@ -150,10 +149,9 @@ impl TryFrom<&VoltRouterData<&types::PaymentsAuthorizeRouterData>> for VoltPayme| api_models::payments::PaymentMethodData::Voucher(_)| api_models::payments::PaymentMethodData::GiftCard(_)| api_models::payments::PaymentMethodData::CardToken(_) => {- Err(errors::ConnectorError::NotSupported {- message: utils::SELECTED_PAYMENT_METHOD.to_string(),- connector: "Volt",- }+ Err(errors::ConnectorError::NotImplemented(+ utils::get_unimplemented_payment_method_error_message("Volt"),+ ).into())}}