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(access_token): use `merchant_connector_id` in access token (#5106)
Narayan Bhatb7bf457d0cdc
diff --git a/crates/router/src/core/refunds.rs b/crates/router/src/core/refunds.rsindex b88efe527b..d78dfcc092 100644--- a/crates/router/src/core/refunds.rs+++ b/crates/router/src/core/refunds.rs@@ -447,7 +447,7 @@ pub async fn sync_refund_with_gateway(&state.conf.connectors,&connector_id,api::GetToken::Connector,- payment_attempt.connector.clone(),+ payment_attempt.merchant_connector_id.clone(),).change_context(errors::ApiErrorResponse::InternalServerError).attach_printable("Failed to get the connector")?;