X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to dispaly the first 4 and the last 4 digits of a C C # (https://forum.x-cart.com/showthread.php?t=3167)

e1front 06-13-2003 06:50 AM

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 ??/

info@auction-help.com 08-17-2003 10:55 PM

CC MASKING
 
Did you ever find out how to do this ? I am needing the same thing but I can not find any info in the forum on this subject and it seems like no one has answered your question either.

e1front 08-20-2003 12:30 PM

Actually I did it myself
 
I will post the way i did it, late tonight,
I am at work right now ...

coffeesiphons-com 09-03-2003 09:13 AM

also interested
 
even just the last 4 numbers.... this should be standard in the cart, in my opinion.


All times are GMT -8. The time now is 08:55 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.