commit 541f8915b7af7c9c327ee6cf5cbeaadb8454ea9d
parent 6b59d46651bf367a44cb6b26cbc5f38344e7adf8
Author: Florian Dold <florian@dold.me>
Date: Fri, 14 Nov 2025 00:12:37 +0100
wallet-core: transition properly
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/packages/taler-wallet-core/src/pay-merchant.ts b/packages/taler-wallet-core/src/pay-merchant.ts
@@ -2046,9 +2046,6 @@ function isPurchasePaid(purchase: PurchaseRecord): boolean {
/**
* Check if a payment for the given taler://pay/ URI is possible.
- *
- * If the payment is possible, the signature are already generated but not
- * yet send to the merchant.
*/
export async function preparePayForUri(
wex: WalletExecutionContext,
@@ -4183,6 +4180,7 @@ async function processPurchaseDialogShared(
const [p, h] = await ctx.getRecordHandle(tx);
switch (p?.purchaseStatus) {
case PurchaseStatus.DialogShared:
+ p.purchaseStatus = PurchaseStatus.FailedPaidByOther;
break;
default:
return;