View Single Post
  #1  
Old 06-13-2003, 06:50 AM
 
e1front e1front is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 179
 

Default How to dispaly the first 4 and the last 4 digits of a C C #

In the cart.php,
upon check out
we display the credit card the customer used the last time, "for certain reasons"

so right now we display the whole number,
but we got some complains from customers,
so i need to display only the first 4 and the last 4 digits ...

so as i remember
we decrypt the credit card number first
let say $ccn = 1111222233334444
but how can i display it as 1111 ... 4444
is there a smarty comand to do this ??/
Reply With Quote