diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pending.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pending.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/pending.ts b/packages/taler-wallet-core/src/operations/pending.ts index 7338ac77d..4f6477d50 100644 --- a/packages/taler-wallet-core/src/operations/pending.ts +++ b/packages/taler-wallet-core/src/operations/pending.ts @@ -22,6 +22,7 @@ import { ProposalStatus, ReserveRecordStatus, Stores, + AbortStatus, } from "../types/dbTypes"; import { PendingOperationsResponse, @@ -381,7 +382,7 @@ async function gatherPurchasePending( onlyDue = false, ): Promise<void> { await tx.iter(Stores.purchases).forEach((pr) => { - if (pr.paymentSubmitPending) { + if (pr.paymentSubmitPending && pr.abortStatus === AbortStatus.None) { resp.nextRetryDelay = updateRetryDelay( resp.nextRetryDelay, now, @@ -398,7 +399,7 @@ async function gatherPurchasePending( }); } } - if (pr.refundStatusRequested) { + if (pr.refundQueryRequested) { resp.nextRetryDelay = updateRetryDelay( resp.nextRetryDelay, now, |