Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9c562b12c7 | |||
| 6414e5663a |
@@ -120,8 +120,10 @@ public class ZarinpalReconciliationJob
|
|||||||
pt.Created < cutoff &&
|
pt.Created < cutoff &&
|
||||||
pt.Created > maxAge)
|
pt.Created > maxAge)
|
||||||
.ToListAsync(ct);
|
.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.
|
// 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,
|
// 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).
|
// so this is safe — we only apply business logic when ZP confirms success (code 100/101).
|
||||||
|
|||||||
Reference in New Issue
Block a user