Make sure to use the correct subject, otherwise the money will
not arrive in this wallet.
) : (
//integrated bank withdrawal
{!transaction.withdrawalDetails.confirmed &&
transaction.withdrawalDetails.bankConfirmationUrl ? (
Wire transfer need a confirmation. Go to the{" "}
bank site{" "}
and check wire transfer operation to exchange account is
complete.
) : undefined}
{transaction.withdrawalDetails.confirmed &&
!transaction.withdrawalDetails.reserveIsReady && (
Bank has confirmed the wire transfer. Waiting for the
exchange to send the coins
)}
{transaction.withdrawalDetails.confirmed &&
transaction.withdrawalDetails.reserveIsReady && (
Exchange is ready to send the coins, withdrawal in progress.
)}
)}
}
/>
);
}
if (transaction.type === TransactionType.Payment) {
const pendingRefund =
transaction.refundPending === undefined
? undefined
: Amounts.parseOrThrow(transaction.refundPending);
const effectiveRefund = Amounts.parseOrThrow(
transaction.totalRefundEffective,
);
return (
{transaction.info.fulfillmentUrl ? (
{transaction.info.summary}
) : (
transaction.info.summary
)}
{transaction.refunds.length > 0 ? (
{transaction.refunds.map((r, i) => {
return (
);
})}
}
kind="neutral"
/>
) : undefined}
{pendingRefund !== undefined && Amounts.isNonZero(pendingRefund) && (
{transaction.refundQueryActive ? (
Refund is in progress.
) : (
Merchant created a refund for this order but was not
automatically picked up.
)}
}
kind="positive"
/>
{transaction.refundQueryActive ? undefined : (