Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CC Number Not Saved in DB when JAVA Script is turned off...


mac64

Recommended Posts

Posted

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

Posted

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"

Posted

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

Posted

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"

Archived

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

×
×
  • Create New...