Waiting for info about exchange ...
; - } - const totalCost = Amounts.add(rci.overhead, rci.withdrawFee).amount; - return ( -- The tip is handled by the exchange {rci.exchangeInfo.baseUrl}.{" "} - The exchange provider will charge - {" "} - {renderAmount(totalCost)} - {" "}. -
-Processing ...
; - } - - const renderAccepted = () => ( - <> -You've accepted this tip! Go back to merchant
- {this.renderExchangeInfo()} - > - ); - - const renderButtons = () => ( - <> + return ( ++ You received a tip of {renderAmount(tipStatus.amount)}{" "} + from + {tipStatus.merchantOrigin}. +
++ The tip is handled by the exchange{" "} + {tipStatus.exchangeUrl}. This exchange will charge fees + of {renderAmount(tipStatus.totalFees)} for this + operation. +
- { this.renderExchangeInfo() } - > - ); - - const renderDiscarded = () => ( -You've discarded this tip. Go back to merchant.
- ); - - return ( -You received a tip of {renderAmount(ts.amount)} from - {ts.merchantDomain}.
- { - this.state.discarded - ? renderDiscarded() - : ts.accepted - ? renderAccepted() - : renderButtons() - } -