mac64 Posted December 16, 2002 Posted December 16, 2002 I have a client who has a live store. He is using the CC payment module. Everything works fine when Javascript is turned off, however if you have Java script disabled, the CC Number & Name on Credit Card are not saved in the database, however the card type & the expiration date are saved. Anyone else run into this problem? I'm using OSC 2.2 release from May. Any help you can provide is appreciated. Thanks
mattice Posted December 16, 2002 Posted December 16, 2002 your version still does a javascript check, which is taken out in the recent versions. osC now checks in proper php. It shouldn't be too much trouble to upgrade to the new validation code... HTH Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them"
mac64 Posted December 17, 2002 Author Posted December 17, 2002 Thanks for your help, I will try doing what you said. I understand that the Javascript Validation will not work if Javascript is off, but if they enter a Credit Card number correctly, I wouldn't think Javascript would have anything to do with it saving it to the database. Any further comments are appreciated. Thanks
mattice Posted December 17, 2002 Posted December 17, 2002 if they enter a valid nr. (use 4111 1111 1111 1111 to test) in the field and it doesn't get written to the db (partially that is, middle 6 digits are X-ed out if the email address is specified in the Admin for that feature) there is something wrong, yes. Default behaviour of the cc.php module is it does the js check, if it is a sane cardnr php processes it... ? "Politics is the art of preventing people from taking part in affairs which properly concern them"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.