From 1548086f50a7e33f17c5a5218fa0fc3383a8a2d5 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 21 Aug 2020 20:56:25 +0530 Subject: make diagnostics, welcome page and permissions work again --- packages/taler-wallet-core/src/operations/transactions.ts | 1 + packages/taler-wallet-core/src/types/transactions.ts | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'packages/taler-wallet-core') diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts index b79ac3b27..8300864b2 100644 --- a/packages/taler-wallet-core/src/operations/transactions.ts +++ b/packages/taler-wallet-core/src/operations/transactions.ts @@ -241,6 +241,7 @@ export async function getTransactions( products: pr.contractData.products, summary: pr.contractData.summary, summary_i18n: pr.contractData.summaryI18n, + contractTermsHash: pr.contractData.contractTermsHash, }; const paymentTransactionId = makeEventId( TransactionType.Payment, diff --git a/packages/taler-wallet-core/src/types/transactions.ts b/packages/taler-wallet-core/src/types/transactions.ts index e40031499..5ee09384f 100644 --- a/packages/taler-wallet-core/src/types/transactions.ts +++ b/packages/taler-wallet-core/src/types/transactions.ts @@ -226,6 +226,11 @@ export interface PaymentShortInfo { */ orderId: string; + /** + * Hash of the contract terms. + */ + contractTermsHash: string; + /** * More information about the merchant */ -- cgit v1.2.3