Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Disabling acceptance of certain creidt card?


kc0eks

Recommended Posts

Hello all,

in regards to using the standard CC.php module, how would one go about disabling or returning an error for a certain card type?

I do not accept discover, and my site specifically states this, however the cart still accepts it :/

Any ideas?

I tried searching, but we all know how well that goes.

 

Thanks

Link to comment
Share on other sites

Hello all,

in regards to using the standard CC.php module, how would one go about disabling or returning an error for a certain card type?

I do not accept discover, and my site specifically states this, however the cart still accepts it :/

Any ideas?

I tried searching, but we all know how well that goes.

 

Thanks

 

 

in includes/classes/cc_validation.php

 

 

find this code :

 

} elseif (ereg('^6011[0-9]{12}$', $this->cc_number)) {

$this->cc_type = 'Discover';

 

 

and delete it or comment it out.

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...