diff options
author | Sebastian <sebasjm@gmail.com> | 2024-04-16 15:22:04 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-04-16 15:22:04 -0300 |
commit | ab428f3b1ebb4f147075d6628df0d08df3ba1fe2 (patch) | |
tree | fc59a40867bf1c7e0d65cbe397eb3a6154fe9d56 | |
parent | d5b7c732df6c0181c90d17b9550902961a78727b (diff) | |
download | wallet-core-ab428f3b1ebb4f147075d6628df0d08df3ba1fe2.tar.gz wallet-core-ab428f3b1ebb4f147075d6628df0d08df3ba1fe2.tar.bz2 wallet-core-ab428f3b1ebb4f147075d6628df0d08df3ba1fe2.zip |
fix typo: validating the wrong state
-rw-r--r-- | packages/taler-wallet-core/src/pay-merchant.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/pay-merchant.ts b/packages/taler-wallet-core/src/pay-merchant.ts index e08f23beb..36cf5180b 100644 --- a/packages/taler-wallet-core/src/pay-merchant.ts +++ b/packages/taler-wallet-core/src/pay-merchant.ts @@ -2790,7 +2790,7 @@ async function processPurchaseAutoRefund( logger.warn("purchase does not exist anymore"); return; } - if (p.purchaseStatus !== PurchaseStatus.PendingQueryingRefund) { + if (p.purchaseStatus !== PurchaseStatus.PendingQueryingAutoRefund) { return; } const oldTxState = computePayMerchantTransactionState(p); |