diff --git a/OrderCloud.Integrations.Payment.PayPal/Mappers/PayPalOrderPaymentMapper.cs b/OrderCloud.Integrations.Payment.PayPal/Mappers/PayPalOrderPaymentMapper.cs index 25e497e..27c3e9d 100644 --- a/OrderCloud.Integrations.Payment.PayPal/Mappers/PayPalOrderPaymentMapper.cs +++ b/OrderCloud.Integrations.Payment.PayPal/Mappers/PayPalOrderPaymentMapper.cs @@ -48,7 +48,7 @@ public List MapToPurchaseUnit(AuthorizeCCTransaction transaction, }, description = transaction?.OrderWorksheet?.Order?.Comments, reference_id = Guid.NewGuid().ToString(), - invoice_id = Guid.NewGuid().ToString(), + invoice_id = transaction?.OrderID, }; if (address != null) {