You can display only the bin and last 4 digits of the card.
Mastercard/Visa have now 8 digit bins.
I don't think displaying 12 digits is considered PCI compliant