Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CVV must be mandatory


Guest

Recommended Posts

Posted

Is there a way to make entering the CVV number mandatory?

 

30% of my sales are without the CVV number and the address verification always doesnt match which end up in dispute.

 

This is killing me as after an order i have to tell the customer to submit their CVV number but after i do i never hear from them again.

 

Is there a way or contribution that would make the CVV number mandatory for credit card orders?

 

Thanks

Posted

Yes, but how do you apply this to the default CC in OSC?

 

I have several merchant accounts.

Posted

i'll have to look at it later (don't have access from work), but for the linkpoint basic contrib there is javascript in the linkpointbasic.php payment module that checks the CC Number and Name for a length less than what it wants. you would just add another check for CVV in there.

Posted

I can get you started for now... look for this code in includes/modules/payment/cc.php

 

    function javascript_validation() {
     $js = '  if (payment_value == "' . $this->code . '") {' . "\n" .
           '    var cc_owner = document.checkout_payment.cc_owner.value;' . "\n" .
           '    var cc_number = document.checkout_payment.cc_number.value;' . "\n" .
           '    if (cc_owner == "" || cc_owner.length < ' . CC_OWNER_MIN_LENGTH . ') {' . "\n" .
           '      error_message = error_message + "' . MODULE_PAYMENT_CC_TEXT_JS_CC_OWNER . '";' . "\n" .
           '      error = 1;' . "\n" .
           '    }' . "\n" .
           '    if (cc_number == "" || cc_number.length < ' . CC_NUMBER_MIN_LENGTH . ') {' . "\n" .
           '      error_message = error_message + "' . MODULE_PAYMENT_CC_TEXT_JS_CC_NUMBER . '";' . "\n" .
           '      error = 1;' . "\n" .
           '    }' . "\n" .
           '  }' . "\n";

     return $js;
   }

Posted

So weird, I just checked my osc coding 5 times over and found that i do have the mandatory CVV number option.

 

Weird cus i made like 3 account 2 from this PC and one using my old one, using also different browsers and they all specify that i must enter the CVV number.

 

How do some of my customers place an order without the CVV number included then? Have no idea.

 

I did some minor clean up to the database but nuthing really to affect the checkout process.

 

If i find anything ill post it here.

 

Lataz

  • 2 months later...
Posted

If your using LinkpointMS1andMS2 I have just uploaded various fixes for it including the ability to remove the checkbox for customers to say they have lost or cannot read the CVV/CRV number. I also uploaded the updated files which fixed the Parse error and file not found errors for crv_help.php

 

I recompiled it so that all files are in the correct places. it, and the option remover change can be viewed here. http://www.oscommerce.com/community/contributions,596

 

 

 

 

Cliff...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...