summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/db.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-01-15 19:38:34 +0100
committerFlorian Dold <florian@dold.me>2024-01-15 19:38:41 +0100
commitcc07d767abb0c1ba37be92014b06a94d3a3206d9 (patch)
treedbd037f08b4a438a3cc786778876b83762fc175e /packages/taler-wallet-core/src/db.ts
parent728bab6584ee5632def40f22103dc7578ec3d64c (diff)
downloadwallet-core-cc07d767abb0c1ba37be92014b06a94d3a3206d9.tar.gz
wallet-core-cc07d767abb0c1ba37be92014b06a94d3a3206d9.tar.bz2
wallet-core-cc07d767abb0c1ba37be92014b06a94d3a3206d9.zip
wallet-core: fix pay state machine when order is deleted
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r--packages/taler-wallet-core/src/db.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts
index 84066aaf0..5a412fb27 100644
--- a/packages/taler-wallet-core/src/db.ts
+++ b/packages/taler-wallet-core/src/db.ts
@@ -1179,12 +1179,14 @@ export enum PurchaseStatus {
*/
AbortedIncompletePayment = 0x0503_0000,
+ AbortedRefunded = 0x0503_0001,
+
+ AbortedOrderDeleted = 0x0503_0002,
+
/**
* Tried to abort, but aborting failed or was cancelled.
*/
FailedAbort = 0x0501_0001,
-
- AbortedRefunded = 0x0503_0000,
}
/**