diff options
author | Sebastian <sebasjm@gmail.com> | 2023-12-11 12:43:06 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-12-11 12:43:06 -0300 |
commit | bad61fce24e55f117d28e7d6472d2ad288d1fbc6 (patch) | |
tree | c491088e083092d65cf385a8fc93638f2c0112ff /packages/taler-wallet-core | |
parent | f2eb9318b6ad42470d81e6e92fe256cbd4d59ae8 (diff) | |
download | wallet-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/taler-wallet-core')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay-merchant.ts | 1 |
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 }; |