From 7d9c98a90c016046cfba5b0c6616dbc35939dfab Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 9 Sep 2020 02:22:22 +0530 Subject: include proposal ID, to allow aborting --- packages/taler-wallet-core/src/operations/transactions.ts | 1 + packages/taler-wallet-core/src/types/transactions.ts | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts index 87236d5a0..4f318faba 100644 --- a/packages/taler-wallet-core/src/operations/transactions.ts +++ b/packages/taler-wallet-core/src/operations/transactions.ts @@ -248,6 +248,7 @@ export async function getTransactions( pr.abortStatus === AbortStatus.None, timestamp: pr.timestampAccept, transactionId: paymentTransactionId, + proposalId: pr.proposalId, info: info, ...(err ? { error: err } : {}), }); diff --git a/packages/taler-wallet-core/src/types/transactions.ts b/packages/taler-wallet-core/src/types/transactions.ts index 21d7ee181..b9d18944a 100644 --- a/packages/taler-wallet-core/src/types/transactions.ts +++ b/packages/taler-wallet-core/src/types/transactions.ts @@ -195,6 +195,11 @@ export interface TransactionPayment extends TransactionCommon { */ info: OrderShortInfo; + /** + * Wallet-internal end-to-end identifier for the payment. + */ + proposalId: string; + /** * How far did the wallet get with processing the payment? */ -- cgit v1.2.3