Skip to content

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

fix(connector): [Peachpayments] Fix Setup Mandate Endpoint (#13734)

Anurag1eb828c400e6
diff --git a/crates/hyperswitch_connectors/src/connectors/peachpayments.rs b/crates/hyperswitch_connectors/src/connectors/peachpayments.rs
index 7b9a3c084e..da38e538ad 100644
--- a/crates/hyperswitch_connectors/src/connectors/peachpayments.rs
+++ b/crates/hyperswitch_connectors/src/connectors/peachpayments.rs
@@ -214,10 +214,7 @@ impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsRespons
if req.request.capture_method.unwrap_or_default() == CaptureMethod::Automatic {
return Err(errors::ConnectorError::CaptureMethodNotSupported.into());
}
- Ok(format!(
- "{}/transactions/authorization",
- self.base_url(connectors)
- ))
+ Ok(format!("{}/transactions", self.base_url(connectors)))
}
fn get_request_body(