aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-util/src/transactions-types.ts2
-rw-r--r--packages/taler-wallet-core/src/operations/pay-merchant.ts2
-rw-r--r--packages/taler-wallet-embedded/src/wallet-qjs.ts1
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";