{paymentHistory.plan ? (
{paymentHistory.plan.name}
) : (
Plan does not exist
)}
|
{paymentHistory?.name}
|
{paymentHistory?.email}
|
{paymentHistory?.plan?.currency?.symbol}{" "}{paymentHistory?.amount}
|
{paymentHistory?.method}
|
{paymentHistory.status === "pending" && (
Pending
)}
{paymentHistory.status === "awaiting_payment" && (
Awaiting Payment
)}
{paymentHistory.status === "success" && (
Success
)}
{paymentHistory.status === "failed" && (
Failed
)}
|
{moment(
paymentHistory?.created_at
).format("ll")}
|
|
)
)}