diff options
author | Florian Dold <florian@dold.me> | 2024-03-07 11:46:31 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-03-07 11:46:31 +0100 |
commit | 53120dfc3ec05d49fc6f94bb498c66238225dd6b (patch) | |
tree | 374a582f38bf1eb0cb3d8d0c221ffc20af886804 /packages/taler-wallet-webextension/src/cta/Payment | |
parent | 26a2a1c094194fed84c3227bc0b91540d31637cc (diff) | |
download | wallet-core-53120dfc3ec05d49fc6f94bb498c66238225dd6b.tar.xz |
rename insufficient balance fields to work for both merchant and p2p payments
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Payment')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Payment/stories.tsx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Payment/stories.tsx b/packages/taler-wallet-webextension/src/cta/Payment/stories.tsx index 93b96c836..d03f48746 100644 --- a/packages/taler-wallet-webextension/src/cta/Payment/stories.tsx +++ b/packages/taler-wallet-webextension/src/cta/Payment/stories.tsx @@ -57,8 +57,8 @@ export const NoEnoughBalanceAvailable = tests.createExample(BaseView, { balanceAvailable: "USD:9" as AmountString, balanceMaterial: "USD:9" as AmountString, balanceAgeAcceptable: "USD:9" as AmountString, - balanceMerchantAcceptable: "USD:9" as AmountString, - balanceMerchantDepositable: "USD:9" as AmountString, + balanceReceiverAcceptable: "USD:9" as AmountString, + balanceReceiverDepositable: "USD:9" as AmountString, maxEffectiveSpendAmount: "USD:9.5" as AmountString, balanceExchangeDepositable: "USD:9.5" as AmountString, perExchange: {}, @@ -99,8 +99,8 @@ export const NoEnoughBalanceMaterial = tests.createExample(BaseView, { balanceAvailable: "USD:10" as AmountString, balanceMaterial: "USD:9" as AmountString, balanceAgeAcceptable: "USD:9" as AmountString, - balanceMerchantAcceptable: "USD:9" as AmountString, - balanceMerchantDepositable: "USD:0" as AmountString, + balanceReceiverAcceptable: "USD:9" as AmountString, + balanceReceiverDepositable: "USD:0" as AmountString, maxEffectiveSpendAmount: "USD:9.5" as AmountString, balanceExchangeDepositable: "USD:9.5" as AmountString, perExchange: {}, @@ -141,8 +141,8 @@ export const NoEnoughBalanceAgeAcceptable = tests.createExample(BaseView, { balanceAvailable: "USD:10" as AmountString, balanceMaterial: "USD:10" as AmountString, balanceAgeAcceptable: "USD:9" as AmountString, - balanceMerchantAcceptable: "USD:9" as AmountString, - balanceMerchantDepositable: "USD:9" as AmountString, + balanceReceiverAcceptable: "USD:9" as AmountString, + balanceReceiverDepositable: "USD:9" as AmountString, maxEffectiveSpendAmount: "USD:9.5" as AmountString, balanceExchangeDepositable: "USD:9.5" as AmountString, perExchange: {}, @@ -184,8 +184,8 @@ export const NoEnoughBalanceMerchantAcceptable = tests.createExample(BaseView, { balanceAvailable: "USD:10" as AmountString, balanceMaterial: "USD:10" as AmountString, balanceAgeAcceptable: "USD:10" as AmountString, - balanceMerchantAcceptable: "USD:9" as AmountString, - balanceMerchantDepositable: "USD:9" as AmountString, + balanceReceiverAcceptable: "USD:9" as AmountString, + balanceReceiverDepositable: "USD:9" as AmountString, maxEffectiveSpendAmount: "USD:9.5" as AmountString, balanceExchangeDepositable: "USD:9.5" as AmountString, perExchange: {}, @@ -228,8 +228,8 @@ export const NoEnoughBalanceMerchantDepositable = tests.createExample( balanceAvailable: "USD:10" as AmountString, balanceMaterial: "USD:10" as AmountString, balanceAgeAcceptable: "USD:10" as AmountString, - balanceMerchantAcceptable: "USD:10" as AmountString, - balanceMerchantDepositable: "USD:9" as AmountString, + balanceReceiverAcceptable: "USD:10" as AmountString, + balanceReceiverDepositable: "USD:9" as AmountString, maxEffectiveSpendAmount: "USD:9.5" as AmountString, balanceExchangeDepositable: "USD:9.5" as AmountString, perExchange: {}, @@ -271,8 +271,8 @@ export const NoEnoughBalanceFeeGap = tests.createExample(BaseView, { balanceAvailable: "USD:10" as AmountString, balanceMaterial: "USD:10" as AmountString, balanceAgeAcceptable: "USD:10" as AmountString, - balanceMerchantAcceptable: "USD:10" as AmountString, - balanceMerchantDepositable: "USD:10" as AmountString, + balanceReceiverAcceptable: "USD:10" as AmountString, + balanceReceiverDepositable: "USD:10" as AmountString, maxEffectiveSpendAmount: "USD:9.5" as AmountString, balanceExchangeDepositable: "USD:9.5" as AmountString, perExchange: {}, |