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
chore: update production endpoint url for globalPay (#7588)
Pa1NarK74090f6cfead
diff --git a/config/deployments/production.toml b/config/deployments/production.tomlindex 23baa447f6..5f06739dae 100644--- a/config/deployments/production.toml+++ b/config/deployments/production.toml@@ -64,7 +64,7 @@ fiuu.secondary_base_url="https://api.merchant.razer.com/"fiuu.third_base_url="https://api.merchant.razer.com/"forte.base_url = "https://sandbox.forte.net/api/v3"getnet.base_url = "https://api.getneteurope.com/engine/rest"-globalpay.base_url = "https://apis.sandbox.globalpay.com/ucp/"+globalpay.base_url = "https://apis.globalpay.com/ucp/"globepay.base_url = "https://pay.globepay.co/"gocardless.base_url = "https://api.gocardless.com"gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"diff --git a/crates/hyperswitch_connectors/src/connectors/globalpay.rs b/crates/hyperswitch_connectors/src/connectors/globalpay.rsindex 641e9fd5f3..8034f9ac9d 100644--- a/crates/hyperswitch_connectors/src/connectors/globalpay.rs+++ b/crates/hyperswitch_connectors/src/connectors/globalpay.rs@@ -482,8 +482,10 @@ impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Gl.response.parse_struct("Globalpay PaymentsResponse").change_context(errors::ConnectorError::ResponseDeserializationFailed)?;+event_builder.map(|i| i.set_response_body(&response));router_env::logger::info!(connector_response=?response);+RouterData::try_from(ResponseRouterData {response,data: data.clone(),@@ -561,7 +563,7 @@ impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Glo) -> CustomResult<PaymentsSyncRouterData, errors::ConnectorError> {let response: GlobalpayPaymentsResponse = res.response- .parse_struct("globalpay PaymentsResponse")+ .parse_struct("Globalpay PaymentsResponse").change_context(errors::ConnectorError::ResponseDeserializationFailed)?;event_builder.map(|i| i.set_response_body(&response));@@ -581,6 +583,7 @@ impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Glo)).change_context(errors::ConnectorError::ResponseHandlingFailed)}+fn get_multiple_capture_sync_method(&self,) -> CustomResult<CaptureSyncMethod, errors::ConnectorError> {@@ -658,8 +661,10 @@ impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> fo.response.parse_struct("Globalpay PaymentsResponse").change_context(errors::ConnectorError::ResponseDeserializationFailed)?;+event_builder.map(|i| i.set_response_body(&response));router_env::logger::info!(connector_response=?response);+RouterData::try_from(ResponseRouterData {response,data: data.clone(),@@ -748,8 +753,10 @@ impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData.response.parse_struct("Globalpay PaymentsResponse").change_context(errors::ConnectorError::ResponseDeserializationFailed)?;+event_builder.map(|i| i.set_response_body(&response));router_env::logger::info!(connector_response=?response);+RouterData::try_from(ResponseRouterData {response,data: data.clone(),@@ -909,8 +916,10 @@ impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Globalpay.response.parse_struct("globalpay RefundResponse").change_context(errors::ConnectorError::ResponseDeserializationFailed)?;+event_builder.map(|i| i.set_response_body(&response));router_env::logger::info!(connector_response=?response);+RouterData::try_from(ResponseRouterData {response,data: data.clone(),