From d98f048fd65c46cd774eabdef8599efb75153ac3 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 3 Jul 2023 14:01:23 -0300 Subject: fix 7741: add sessionid --- packages/taler-wallet-core/src/operations/pay-merchant.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/taler-wallet-core/src') diff --git a/packages/taler-wallet-core/src/operations/pay-merchant.ts b/packages/taler-wallet-core/src/operations/pay-merchant.ts index d53ee1b43..080191bfd 100644 --- a/packages/taler-wallet-core/src/operations/pay-merchant.ts +++ b/packages/taler-wallet-core/src/operations/pay-merchant.ts @@ -1617,6 +1617,7 @@ export async function processPurchasePay( type: TaskRunResultType.Error, errorDetail: makeErrorDetail(TalerErrorCode.WALLET_ORDER_ALREADY_PAID, { orderId: purchase.orderId, + fulfillmentUrl: download.contractData.fulfillmentUrl, }), }; } @@ -2219,7 +2220,7 @@ export async function sharePayment( return { nonce: p.noncePriv, - session: p.lastSessionId, + session: p.lastSessionId ?? p.downloadSessionId, token: p.claimToken, }; }); -- cgit v1.2.3