summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core')
-rw-r--r--packages/taler-wallet-core/src/operations/transactions.ts1
-rw-r--r--packages/taler-wallet-core/src/types/transactions.ts5
2 files changed, 6 insertions, 0 deletions
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
@@ -227,6 +227,11 @@ export interface PaymentShortInfo {
orderId: string;
/**
+ * Hash of the contract terms.
+ */
+ contractTermsHash: string;
+
+ /**
* More information about the merchant
*/
merchant: any;