diff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsx index 798ac89bf9..781e3cebe4 100644 --- a/apps/web/pages/booking/[uid].tsx +++ b/apps/web/pages/booking/[uid].tsx @@ -442,17 +442,19 @@ export default function Success(props: SuccessProps) {

{getTitle()}

- {props.paymentStatus && ( -

- {!props.paymentStatus.success && - !props.paymentStatus.refunded && - t("booking_with_payment_cancelled")} - {props.paymentStatus.success && - !props.paymentStatus.refunded && - t("booking_with_payment_cancelled_already_paid")} - {props.paymentStatus.refunded && t("booking_with_payment_cancelled_refunded")} -

- )} + {props.paymentStatus && + (bookingInfo.status === BookingStatus.CANCELLED || + bookingInfo.status === BookingStatus.REJECTED) && ( +

+ {!props.paymentStatus.success && + !props.paymentStatus.refunded && + t("booking_with_payment_cancelled")} + {props.paymentStatus.success && + !props.paymentStatus.refunded && + t("booking_with_payment_cancelled_already_paid")} + {props.paymentStatus.refunded && t("booking_with_payment_cancelled_refunded")} +

+ )}
{(isCancelled || reschedule) && cancellationReason && (