First, please no lectures about PCI compliance, my client is absolutely PCI compliant, as well this mod ensures this..
Last year, after trying to get other CVV mod's installed, I combined 2 older mods which perform like so
The problem is the CVV field is not required, the customer can proceed without filling out the field.. I (my client) need it required.
- adds CVV field to payment checkout
- CVV is never written to DB but only emailed to merchant along with the middle 8 credit card numbers, even though there was a DB field created for it
- check boxes on admin order to remove the remaining CC info (1st 4 & last 4 of the card # & exp date) when updating status
The 2 mods I combined are:
o http://www.oscommerce.com/community/contributions,4377
o http://www.oscommerce.com/community/contributions,1227
I believe in catalog/includes/classes/cc_validation.php
near:
I need something to the effect of this (which I found in another mod) but my coding skills suck and I am unclear how to change this to make it work for my needs.Code:$l = strlen($cvv); if (strlen($cr_card_type) > 0 && ($this->cc_type != $cr_card_type)) { return -5; }
If I can make this part work I will bundle the mod and post it..Code:$this->cc_cvv = $cvv; if ((MODULE_PAYMENT_CC_CVV == 'True') && ($cvv_length > 0)) { // using CVV and card is known to have CVV if (strlen($cvv) != $cvv_length) { // bad length $this->errmsg = sprintf(CCERR_BAD_CVV, $this->cc_type, $cvv_length); return -5;
Thanks..





LinkBack URL
About LinkBacks











Bookmarks