From bad61fce24e55f117d28e7d6472d2ad288d1fbc6 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 11 Dec 2023 12:43:06 -0300 Subject: actually fixing the bug seen in webex, i'm not sure why it wasn't catch by test case --- packages/taler-wallet-core/src/operations/pay-merchant.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'packages') 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 }; -- cgit v1.2.3