diff options
author | Florian Dold <florian@dold.me> | 2024-02-13 12:26:28 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-02-13 12:26:28 +0100 |
commit | 336361b99fa2528071f9e3b0431cd03176d8f2dc (patch) | |
tree | dc58d0b870945c31d532cc94633e5871223a1088 /packages/taler-wallet-core | |
parent | c23ad08e4481de611be3f51a392118f97f6da70e (diff) | |
download | wallet-core-336361b99fa2528071f9e3b0431cd03176d8f2dc.tar.xz |
fix refund test
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 3acfbd457..52f9c70b1 100644 --- a/packages/taler-wallet-core/src/operations/pay-merchant.ts +++ b/packages/taler-wallet-core/src/operations/pay-merchant.ts @@ -3106,6 +3106,7 @@ async function storeRefunds( } else { myPurchase.purchaseStatus = PurchaseStatus.Done; } + myPurchase.refundAmountAwaiting = undefined; } await tx.purchases.put(myPurchase); const newTxState = computePayMerchantTransactionState(myPurchase); |