Community Add-Ons
| Maintainers: | Geotex |
Remove Credit Card Numbers
for osCommerce Online Merchant v2.2
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.
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)
