aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/pay-merchant.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-07-03 14:01:23 -0300
committerSebastian <sebasjm@gmail.com>2023-07-03 14:01:23 -0300
commitd98f048fd65c46cd774eabdef8599efb75153ac3 (patch)
tree2eb01beff87efc6eba97cd46aa56d9c1038f7e1d /packages/taler-wallet-core/src/operations/pay-merchant.ts
parentf407ab202317c188085cce4df90c3e24da3d4e31 (diff)
downloadwallet-core-d98f048fd65c46cd774eabdef8599efb75153ac3.tar.xz
fix 7741: add sessionid
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,
};
});