Contributions

Features (Category Index)
Search: 

Remove Credit Card Numbers

Use this routine if you are currently storing credit card numbers and ccv information in your database (you realy shouldn't, you know). It will work with plain numbers and if you have installed contrib 4359, Credit Card Number Encryption.It will replace all but the last four numbers with X's, counts the length so will work with all major cards. If you have ccv2 info, it will blank that field. When your customer views existing orders, they will see the last 4 digits of their card so they know which one they used.

Expand All / Collapse All

Fix for not zapping numbers 15 Jul 2008

I found that numbers weren't being zapped.

Changed line 93 from:
<td align="center" valign="top"><form action="<?php echo tep_href_link(FILENAME_POPUP_ZAP, 'oID=' . $oID) ?>" method="post" id="erase">

to

<td align="center" valign="top"><form action="<?php echo tep_href_link(FILENAME_POPUP_ZAP, 'oID=' . $HTTP_GET_VARS['oID']) ?>" method="post" id="erase">

Also had problems with the field CVV in the database as I had installed contribution 2954 and the field is called CVV2.

Attached is a new version of popup_zap_cc_info.php to fix both issues (not a complete package)

Minor bug update 9 Nov 2007
Minor Tweak 7 Nov 2007
1.11 16 Oct 2007
Remove Credit Card Numbers 1.1 16 Oct 2007
Remove Credit Card Numbers 13 Aug 2007

Note: Contributions are used at own risk.