diff options
author | Florian Dold <florian@dold.me> | 2023-05-16 16:48:45 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-16 16:48:51 +0200 |
commit | 72d0230a2ec34d83bfbbd0c7f731e25c76da3a45 (patch) | |
tree | b5167cc568288e06499d40731427fbdd4aca9e6a | |
parent | b35404a2b11905a5b3cdd0d59bdd340fb00ad086 (diff) |
-fix minor state name
-rw-r--r-- | packages/taler-util/src/transactions-types.ts | 2 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay-merchant.ts | 2 | ||||
-rw-r--r-- | packages/taler-wallet-embedded/src/wallet-qjs.ts | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/packages/taler-util/src/transactions-types.ts b/packages/taler-util/src/transactions-types.ts index 024953f09..02e95c208 100644 --- a/packages/taler-util/src/transactions-types.ts +++ b/packages/taler-util/src/transactions-types.ts @@ -106,7 +106,7 @@ export enum TransactionMinorState { AmlRequired = "aml", MergeKycRequired = "merge-kyc", Track = "track", - Pay = "pay", + SubmitPayment = "submit-payment", RebindSession = "rebind-session", Refresh = "refresh", Pickup = "pickup", diff --git a/packages/taler-wallet-core/src/operations/pay-merchant.ts b/packages/taler-wallet-core/src/operations/pay-merchant.ts index 49ab63b19..a7e9c4e80 100644 --- a/packages/taler-wallet-core/src/operations/pay-merchant.ts +++ b/packages/taler-wallet-core/src/operations/pay-merchant.ts @@ -1728,7 +1728,7 @@ export function computePayMerchantTransactionState( case PurchaseStatus.Paying: return { major: TransactionMajorState.Pending, - minor: TransactionMinorState.Pay, + minor: TransactionMinorState.SubmitPayment, }; case PurchaseStatus.PayingReplay: return { diff --git a/packages/taler-wallet-embedded/src/wallet-qjs.ts b/packages/taler-wallet-embedded/src/wallet-qjs.ts index 654287a31..8dca034d7 100644 --- a/packages/taler-wallet-embedded/src/wallet-qjs.ts +++ b/packages/taler-wallet-embedded/src/wallet-qjs.ts @@ -30,7 +30,6 @@ import { Logger, setGlobalLogLevelFromString, setPRNG, - TalerErrorCode, WalletNotification, } from "@gnu-taler/taler-util"; import { createPlatformHttpLib } from "@gnu-taler/taler-util/http"; |