diff --git a/src/CMSMicroservice.Infrastructure/BackgroundJobs/ZarinpalReconciliationJob.cs b/src/CMSMicroservice.Infrastructure/BackgroundJobs/ZarinpalReconciliationJob.cs index d66f514..a07cf6b 100644 --- a/src/CMSMicroservice.Infrastructure/BackgroundJobs/ZarinpalReconciliationJob.cs +++ b/src/CMSMicroservice.Infrastructure/BackgroundJobs/ZarinpalReconciliationJob.cs @@ -120,8 +120,10 @@ public class ZarinpalReconciliationJob pt.Created < cutoff && pt.Created > maxAge) .ToListAsync(ct); + }else{ + _logger.LّogInformation( + "ZarinpalReconciliationJob: ZP unVerified list is empty"); } - // Fallback: query our own DB for stale pending transactions and try to verify them. // Zarinpal's verify call will return an error for any authority where payment was NOT made, // so this is safe — we only apply business logic when ZP confirms success (code 100/101).