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): Worldpay modular Rsync id issue (#10926)

Nithin Nd775e6b045ce
diff --git a/crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs b/crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs
index adae43e37b..48e6ca4a2a 100644
--- a/crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs
+++ b/crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs
@@ -659,7 +659,7 @@ impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Worldpaym
router_env::logger::info!(connector_response=?response);
Ok(RefundSyncRouterData {
response: Ok(RefundsResponseData {
- connector_refund_id: data.request.refund_id.clone(),
+ connector_refund_id: data.request.get_connector_refund_id()?,
refund_status: enums::RefundStatus::from(response.last_event),
}),
..data.clone()