summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/components/PaymentButtons.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/src/components/PaymentButtons.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/components/PaymentButtons.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/components/PaymentButtons.tsx b/packages/taler-wallet-webextension/src/components/PaymentButtons.tsx
index e7c4fbba4..21ee4d3d2 100644
--- a/packages/taler-wallet-webextension/src/components/PaymentButtons.tsx
+++ b/packages/taler-wallet-webextension/src/components/PaymentButtons.tsx
@@ -93,7 +93,7 @@ export function PaymentButtons({
}
case "merchant-acceptable": {
BalanceMessage = i18n.str`Balance is not enough because merchant will just accept ${Amounts.stringifyValue(
- payStatus.balanceDetails.balanceMerchantAcceptable,
+ payStatus.balanceDetails.balanceReceiverAcceptable,
)} ${
amount.currency
} . To know more you can check which exchange and auditors the merchant trust.`;
@@ -101,7 +101,7 @@ export function PaymentButtons({
}
case "merchant-depositable": {
BalanceMessage = i18n.str`Balance is not enough because merchant will just accept ${Amounts.stringifyValue(
- payStatus.balanceDetails.balanceMerchantDepositable,
+ payStatus.balanceDetails.balanceReceiverDepositable,
)} ${
amount.currency
} . To know more you can check which wire methods the merchant accepts.`;
@@ -232,10 +232,10 @@ function getReason(
if (Amounts.cmp(info.amountRequested, info.balanceAgeAcceptable) > 0) {
return "age-acceptable";
}
- if (Amounts.cmp(info.amountRequested, info.balanceMerchantAcceptable) > 0) {
+ if (Amounts.cmp(info.amountRequested, info.balanceReceiverAcceptable) > 0) {
return "merchant-acceptable";
}
- if (Amounts.cmp(info.amountRequested, info.balanceMerchantDepositable) > 0) {
+ if (Amounts.cmp(info.amountRequested, info.balanceReceiverDepositable) > 0) {
return "merchant-depositable";
}
return "fee-gap";