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): [ACI] fix cancel and refund request encoder (#1507)
Sai Harsha Vardhancf72dcdbb6d2
diff --git a/crates/router/src/connector/aci.rs b/crates/router/src/connector/aci.rsindex 46e98d9663..c956a8e0ae 100644--- a/crates/router/src/connector/aci.rs+++ b/crates/router/src/connector/aci.rs@@ -374,7 +374,7 @@ impllet connector_req = aci::AciCancelRequest::try_from(req)?;let aci_req = types::RequestBody::log_and_get_request_body(&connector_req,- utils::Encode::<aci::AciCancelRequest>::encode_to_string_of_json,+ utils::Encode::<aci::AciCancelRequest>::url_encode,).change_context(errors::ConnectorError::RequestEncodingFailed)?;Ok(Some(aci_req))@@ -483,7 +483,7 @@ impl services::ConnectorIntegration<api::Execute, types::RefundsData, types::Reflet connector_req = aci::AciRefundRequest::try_from(req)?;let body = types::RequestBody::log_and_get_request_body(&connector_req,- utils::Encode::<aci::AciRefundRequest>::encode_to_string_of_json,+ utils::Encode::<aci::AciRefundRequest>::url_encode,).change_context(errors::ConnectorError::RequestEncodingFailed)?;Ok(Some(body))