From 8e2942487d11d0702af3d96d7e76bb1700279198 Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Sat, 13 Jun 2026 17:00:08 +0200 Subject: [PATCH] Ensured the merchant payment id makes it to the ledger --- LiteCharms.Features.MidrandBooks/Payments/PaymentService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LiteCharms.Features.MidrandBooks/Payments/PaymentService.cs b/LiteCharms.Features.MidrandBooks/Payments/PaymentService.cs index 97e9e21..1f39876 100644 --- a/LiteCharms.Features.MidrandBooks/Payments/PaymentService.cs +++ b/LiteCharms.Features.MidrandBooks/Payments/PaymentService.cs @@ -162,7 +162,8 @@ public sealed class PaymentService(IDbContextFactory cont CustomerId = request.CustomerId, OrderId = request.OrderId, PaymentId = request.PaymentId, - Status = request.Status, + MerchantPaymentId = request.PaymentGatewayReference, + Status = request.Status, }); return await context.SaveChangesAsync(cancellationToken) > 0