Pull up an order and see if the code displays.Įverything worked great right up to the point of seeing the CVV2 in the order admin. Next, go to the file admin/includes/languages/english/orders.phpĪnd add this line (you can add it where the CC stuff is, or at the end )ĭefine('ENTRY_CREDIT_CARD_CVV2', 'CVV2:') Go down about line 196 (look for this block) I actually added that to the orders.php file under admin (i.e. To add the CVV2 code to the DB, use phpmyadmin to do the following query. (the following info new to this revision) So, I added error checking for the CVV2 codeĬc.php - replaces catalog/includes/modules/payment/cc.php This was based on the originally CVV2 modded cc.phpĬc_validation.php -replaces catalog/includes/classes/cc_validation.php - this does the error checking this mod was designed for My wife needed CVV code for her store's site (but her CC processor required the CVV code to process payment, thus the necessity. Here are the instructions I followed from the contributions to add this to my store: I entered the following query into myphpadmin to add this field:ĪLTER TABLE `orders` ADD `cc_cvv2` VARCHAR(4) AFTER `cc_number` There is a field for it in the SQL database. You cannot see the CVV2 which was entered. However, when you view it, you see the following: I've also added it to the admin order preview. The CVV2 can be entered at checkout and appears on the confirmation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |