2 Commits

Author SHA1 Message Date
masoodafar-web 9c562b12c7 Merge branch 'kub-stage' into production
Build and Deploy to Production / build-and-deploy (push) Has been cancelled
2026-05-21 20:19:43 +03:30
masoodafar-web 6414e5663a fix(ZarinpalReconciliationJob): log information when unverified list is empty
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
2026-05-21 20:19:32 +03:30
@@ -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).