kc0eks Posted January 24, 2005 Share Posted January 24, 2005 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 More sharing options...
boxtel Posted January 24, 2005 Share Posted January 24, 2005 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 <{POST_SNAPBACK}> 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 More sharing options...
kc0eks Posted January 24, 2005 Author Share Posted January 24, 2005 Thank you very much :) couldnt have paid for faster tech support ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.