summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/pay-merchant.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-05-05 10:56:42 +0200
committerFlorian Dold <florian@dold.me>2023-05-05 13:21:58 +0200
commit60805f3ff88d7ecd149a88ec7cea846384155c5b (patch)
tree0767a7ed20c4879ab35447039fd7e3be8fdecb94 /packages/taler-wallet-core/src/operations/pay-merchant.ts
parent1b0bec0363793996eff6483d36b844cfa2381404 (diff)
downloadwallet-core-60805f3ff88d7ecd149a88ec7cea846384155c5b.tar.gz
wallet-core-60805f3ff88d7ecd149a88ec7cea846384155c5b.tar.bz2
wallet-core-60805f3ff88d7ecd149a88ec7cea846384155c5b.zip
DD37 wip
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pay-merchant.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/pay-merchant.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay-merchant.ts b/packages/taler-wallet-core/src/operations/pay-merchant.ts
index d2713dc9d..67343d69a 100644
--- a/packages/taler-wallet-core/src/operations/pay-merchant.ts
+++ b/packages/taler-wallet-core/src/operations/pay-merchant.ts
@@ -2410,7 +2410,7 @@ export async function processPurchaseQueryRefund(
return OperationAttemptResult.finishedEmpty();
}
-export async function abortPay(
+export async function abortPayMerchant(
ws: InternalWalletState,
proposalId: string,
cancelImmediately?: boolean,
@@ -2499,6 +2499,7 @@ export function computePayMerchantTransactionState(
case PurchaseStatus.Proposed:
return {
major: TransactionMajorState.Dialog,
+ minor: TransactionMinorState.MerchantOrderProposed,
};
case PurchaseStatus.ProposalDownloadFailed:
return {