aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-09 02:22:22 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-09 02:22:22 +0530
commit7d9c98a90c016046cfba5b0c6616dbc35939dfab (patch)
tree977901071681adc6650180c2672d23a8bf26a336 /packages
parent67df550b4f6d67f8de346985df26133dc8da5c05 (diff)
include proposal ID, to allow aborting
Diffstat (limited to 'packages')
-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 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
@@ -196,6 +196,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?
*/
status: PaymentStatus;