summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/pay-merchant.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pay-merchant.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/pay-merchant.ts3
1 files changed, 2 insertions, 1 deletions
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,
};
});