taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit bad61fce24e55f117d28e7d6472d2ad288d1fbc6
parent f2eb9318b6ad42470d81e6e92fe256cbd4d59ae8
Author: Sebastian <sebasjm@gmail.com>
Date:   Mon, 11 Dec 2023 12:43:06 -0300

actually fixing the bug seen in webex, i'm not sure why it wasn't catch by test case

Diffstat:
Mpackages/taler-wallet-core/src/operations/pay-merchant.ts | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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 };