Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Minor update GetPaymentTransaction

KrzysztofPajak9452b5db4180
diff --git a/src/Business/Grand.Business.Checkout/Queries/Handlers/Orders/GetPaymentTransactionQueryHandler.cs b/src/Business/Grand.Business.Checkout/Queries/Handlers/Orders/GetPaymentTransactionQueryHandler.cs
index dad8b4039..08f915380 100644
--- a/src/Business/Grand.Business.Checkout/Queries/Handlers/Orders/GetPaymentTransactionQueryHandler.cs
+++ b/src/Business/Grand.Business.Checkout/Queries/Handlers/Orders/GetPaymentTransactionQueryHandler.cs
@@ -26,7 +26,7 @@ namespace Grand.Business.Checkout.Queries.Handlers.Orders
query = query.Where(rr => request.StoreId == rr.StoreId);
if (!string.IsNullOrEmpty(request.CustomerEmail))
- query = query.Where(rr => request.CustomerEmail == rr.CustomerEmail.ToLowerInvariant());
+ query = query.Where(rr => rr.CustomerEmail == request.CustomerEmail.ToLowerInvariant());
if (request.OrderGuid.HasValue)
query = query.Where(rr => rr.OrderGuid == request.OrderGuid.Value);