commit 867c6e6a76ee23bc5c2e230ae9f0a923c4a5887d
parent 18eefc95782467fdceb232ddc985c6fc55e390e6
Author: Sebastian <sebasjm@taler-systems.com>
Date: Wed, 29 Apr 2026 17:05:00 -0300
fix #11366: when the payUri already has a session, use that instead of take the old one from db
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/taler-wallet-core/src/pay-merchant.ts b/packages/taler-wallet-core/src/pay-merchant.ts
@@ -1815,7 +1815,7 @@ async function checkPaymentByProposalId(
type: TalerUriAction.Pay,
merchantBaseUrl: purchaseRec.merchantBaseUrl as HostPortPath, // FIXME: change record type
orderId: purchaseRec.orderId,
- sessionId: purchaseRec.lastSessionId ?? purchaseRec.downloadSessionId ?? "",
+ sessionId: sessionId ?? purchaseRec.lastSessionId ?? purchaseRec.downloadSessionId ?? "",
claimToken: purchaseRec.claimToken,
});