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): [Helcim] change error message from not supported to not implemented (#2850)
oscar2d241b5a82bafa9
diff --git a/crates/router/src/connector/helcim/transformers.rs b/crates/router/src/connector/helcim/transformers.rsindex a27a562ddc..823096d664 100644--- a/crates/router/src/connector/helcim/transformers.rs+++ b/crates/router/src/connector/helcim/transformers.rs@@ -173,10 +173,9 @@ impl TryFrom<&types::SetupMandateRouterData> for HelcimVerifyRequest {| api_models::payments::PaymentMethodData::Voucher(_)| api_models::payments::PaymentMethodData::GiftCard(_)| api_models::payments::PaymentMethodData::CardToken(_) => {- Err(errors::ConnectorError::NotSupported {- message: format!("{:?}", item.request.payment_method_data),- connector: "Helcim",- })?+ Err(errors::ConnectorError::NotImplemented(+ utils::get_unimplemented_payment_method_error_message("Helcim"),+ ))?}}}@@ -274,10 +273,9 @@ impl TryFrom<&HelcimRouterData<&types::PaymentsAuthorizeRouterData>> for HelcimP| api_models::payments::PaymentMethodData::Upi(_)| api_models::payments::PaymentMethodData::Voucher(_)| api_models::payments::PaymentMethodData::GiftCard(_)- | api::PaymentMethodData::CardToken(_) => Err(errors::ConnectorError::NotSupported {- message: format!("{:?}", item.router_data.request.payment_method_data),- connector: "Helcim",- })?,+ | api::PaymentMethodData::CardToken(_) => Err(errors::ConnectorError::NotImplemented(+ utils::get_unimplemented_payment_method_error_message("Helcim"),+ ))?,}}}