kc0eks Posted January 24, 2005 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
boxtel Posted January 24, 2005 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
kc0eks Posted January 24, 2005 Author Posted January 24, 2005 Thank you very much :) couldnt have paid for faster tech support ;)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.