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

feat(connector): [GlobalPayments] Introduce connector_request_reference_id for GlobalPayments (#2519)

Amaan116139ba7ae6
diff --git a/crates/router/src/connector/globalpay/transformers.rs b/crates/router/src/connector/globalpay/transformers.rs
index 7a35a5f578..78a83e7002 100644
--- a/crates/router/src/connector/globalpay/transformers.rs
+++ b/crates/router/src/connector/globalpay/transformers.rs
@@ -39,7 +39,7 @@ impl TryFrom<&types::PaymentsAuthorizeRouterData> for GlobalpayPaymentsRequest {
account_name,
amount: Some(item.request.amount.to_string()),
currency: item.request.currency.to_string(),
- reference: item.attempt_id.to_string(),
+ reference: item.connector_request_reference_id.to_string(),
country: item.get_billing_country()?,
capture_mode: Some(requests::CaptureMode::from(item.request.capture_method)),
payment_method: requests::PaymentMethod {