hrt Posted September 14, 2005 Posted September 14, 2005 During my troubleshooting for the downloads issue I'm having (another post), I noticed that credit card numbers are stored in the database, I would like to modify the code to store only the last four digits. If I did this near the bottom of the checkout_success.php file, would it cause a problem? Has anyone done this already?
FalseDawn Posted September 14, 2005 Posted September 14, 2005 Shouldn't be a problem. Don't know where exactly it gets stored in stock OSC, but extracting the last 4 digits is pretty trivial, eg: $cc='****-****-****-' . substr($cc, -4); Where $cc is the user input
AlanR Posted September 14, 2005 Posted September 14, 2005 There's also the split credit card number option in admin -> payments. Only a partial cc number is stored in the db. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
hrt Posted September 15, 2005 Author Posted September 15, 2005 Can't seem to find that option, perhaps I'm running an older version. There's also the split credit card number option in admin -> payments. Only a partial cc number is stored in the db. <{POST_SNAPBACK}>
Guest Posted September 15, 2005 Posted September 15, 2005 you need to enable the cc module, then 'configure' the cc module, you can select the split cc portion then
AlanR Posted September 15, 2005 Posted September 15, 2005 Can't seem to find that option, perhaps I'm running an older version. <{POST_SNAPBACK}> Are you using the Credit Card Module that comes in the stock set-up? If so, Go Modules -> Payment, Click on Credit Card, then Edit. You'll find the option there. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
hrt Posted September 15, 2005 Author Posted September 15, 2005 OK, found it and activated it. I was only using the Payflow Pro contribution, will the stock credit card module conflict?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.