aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-12-11 12:43:06 -0300
committerSebastian <sebasjm@gmail.com>2023-12-11 12:43:06 -0300
commitbad61fce24e55f117d28e7d6472d2ad288d1fbc6 (patch)
treec491088e083092d65cf385a8fc93638f2c0112ff /packages
parentf2eb9318b6ad42470d81e6e92fe256cbd4d59ae8 (diff)
downloadwallet-core-bad61fce24e55f117d28e7d6472d2ad288d1fbc6.tar.xz
actually fixing the bug seen in webex, i'm not sure why it wasn't catch by test case
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-wallet-core/src/operations/pay-merchant.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay-merchant.ts b/packages/taler-wallet-core/src/operations/pay-merchant.ts
index 88730bf3b..b3ea5b3fe 100644
--- a/packages/taler-wallet-core/src/operations/pay-merchant.ts
+++ b/packages/taler-wallet-core/src/operations/pay-merchant.ts
@@ -2549,6 +2549,7 @@ async function processPurchaseQueryRefund(
}
const oldTxState = computePayMerchantTransactionState(p);
p.purchaseStatus = PurchaseStatus.Done;
+ p.refundAmountAwaiting = undefined;
const newTxState = computePayMerchantTransactionState(p);
await tx.purchases.put(p);
return { oldTxState, newTxState };