fix(dimentorin): hide raw QR string for midtrans provider in QRIS step
- QRIS step no longer shows the long EMVCo QR string verbatim (real VA number still shown in VA step) - build verified
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ export const QrisPaymentStep: FC<Props> = ({ payment }) => {
|
|||||||
<p className="text-xs font-semibold text-neutral-700 md:text-[15px]">
|
<p className="text-xs font-semibold text-neutral-700 md:text-[15px]">
|
||||||
Rp. {(payment?.total ?? 52000).toLocaleString("id-ID")}
|
Rp. {(payment?.total ?? 52000).toLocaleString("id-ID")}
|
||||||
</p>
|
</p>
|
||||||
<Show condition={!!payment?.external_ref}>
|
<Show condition={!!payment?.external_ref && payment.provider !== 'midtrans'}>
|
||||||
<p className="text-[10px] text-neutral-400 mt-1 font-medium">
|
<p className="text-[10px] text-neutral-400 mt-1 font-medium">
|
||||||
Ref: {payment?.external_ref}
|
Ref: {payment?.external_ref}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user