Error Report Not Found
+This page is supposed to display an error reported by the GNU Taler wallet, + but the corresponding error report can't be found.
+Maybe the error occured before the browser was restarted or the wallet was reloaded.
+- {i18n.str`A problem occured, see below. ${this.statusString()}`} + {this.statusString()}
); } @@ -549,12 +515,9 @@ class ExchangeSelection extends ImplicitStateComponentThis page is supposed to display an error reported by the GNU Taler wallet, + but the corresponding error report can't be found.
+Maybe the error occured before the browser was restarted or the wallet was reloaded.
+Failed to send payment for {summary} to merchant {report.contractTerms.merchant.name}.
+You can retry the payment. If this problem persists, + please contact the mechant with the error details below.
++ {JSON.stringify(report, null, " ")} ++
+ {JSON.stringify(report, null, " ")} ++
+ {JSON.stringify(report, null, " ")} ++ A detailed error report could not be generated: +
+ {e.toString()} ++
No refunds
; + } + + const currency = { ...purchase.refundsDone, ...purchase.refundsPending }[([...pendingKeys, ...doneKeys][0])].refund_amount.currency; + if (!currency) { + throw Error("invariant"); + } + + let amountPending = types.Amounts.getZero(currency); + let feesPending = types.Amounts.getZero(currency) + for (let k of pendingKeys) { + amountPending = types.Amounts.add(amountPending, purchase.refundsPending[k].refund_amount).amount; + feesPending = types.Amounts.add(feesPending, purchase.refundsPending[k].refund_fee).amount; + } + let amountDone = types.Amounts.getZero(currency); + let feesDone = types.Amounts.getZero(currency); + for (let k of doneKeys) { + amountDone = types.Amounts.add(amountDone, purchase.refundsDone[k].refund_amount).amount; + feesDone = types.Amounts.add(feesDone, purchase.refundsDone[k].refund_fee).amount; + } + + return ( +Refund fully received:
Refund incoming:
Status of purchase {summary} from merchant {merchantName} (order id {purchase.contractTerms.order_id}).
+Total amount:
Purchase not completed.
} +