osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Credit Card Choices and Security Codes

This is a discussion on Credit Card Choices and Security Codes within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Here's some questions I'm DYING to hear the answers to... 1) Why doesn't osCommerce allow the user to choose a ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-14-2003, 02:09 PM
Lurker
 
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wrinkle
Default Credit Card Choices and Security Codes

Here's some questions I'm DYING to hear the answers to...

1) Why doesn't osCommerce allow the user to choose a credit card type? What if I can't accept AMEX but they use an AMEX card? How do I limit them?

2) Why doens't osCommerce have a place to enter the 3 or 4 digit security code most merchant accounts require these days? Is there a mod to add this field?

Please help.

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-15-2003, 07:20 AM
Anonymous
Guest
 
Posts: n/a
Default

Ditto.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-14-2003, 07:25 AM
Anonymous
Guest
 
Posts: n/a
Default

I too also need this. And an good document on how to modify the payment module would help nicely

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-14-2003, 07:47 PM
Anonymous
Guest
 
Posts: n/a
Default

To limit the cards used you will need to edit catalog/includes/classes/cc_validation.php
the part that follows is just a part of the file. This is mine, I only accept Visa and MasterCard.

Quote:
class cc_validation {
var $cc_type, $cc_number, $cc_expiry_month, $cc_expiry_year;

function validate($number, $expiry_m, $expiry_y) {
$this->cc_number = ereg_replace('[^0-9]', '', $number);

if (ereg('^4[0-9]{12}([0-9]{3})?$', $this->cc_number)) {
$this->cc_type = 'Visa';
} elseif (ereg('^5[1-5][0-9]{14}$', $this->cc_number)) {
$this->cc_type = 'Master Card';
} else {
return -1;
}
There is a contibution you can add on that adds the cvv code field, ill look it up and post it.

Chris Guth,
http://www.SeniorsLivingHealthy.com
Home Of Tru Blue Pain Relief Cream
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-14-2003, 07:49 PM
Anonymous
Guest
 
Posts: n/a
Default

cvv contibution:
http://www.oscommerce.com/community/contributions,1481

Chris Guth,
http://www.SeniorsLivingHealthy.com
Home Of Tru Blue Pain Relief Cream
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 03-17-2004, 06:38 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default

Actually if you use linkpoint cardservices, since i helped write the mod for it, and full help for your customers and included files is in this contribution, you can check it out. You may contact me for help setting up a merchant account with link point if you need card services, as i am an authorized agent for them

http://www.oscommerce.com/community/contributions,596
__________________
Clifton Murphy CEO/CTO
Hyperactive Inc.
osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 03-18-2004, 12:26 AM
Member
 
Join Date: Feb 2004
Posts: 89
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
gheffron
Default

And what option do you choose if you simply want the credit card #s to be logged? (manual credit card processing) It seems like the options available are for automatic processing.

Correction: there's that funky emailing system where the middle numbers are emailed. But I seem to only be able to receive the middle numbers. No other notice of the sale is showing up (with the other CC #s). How do you set that?

And also, how do you set the SSL directory for the forms to be filled out in?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 03-19-2004, 01:26 PM
Member
 
Join Date: Feb 2004
Posts: 89
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
gheffron
Default

I'm going to start a new thread on my question, as I think it might be helpful to others.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 05-13-2004, 02:09 PM
Anonymous
Guest
 
Posts: n/a
Default

gheffron

first things first:

SSL:
If you are on a C-Panel box your http and https sides are already symlinked and you must call your hosting provider to "enable SSL" on your account. You will know this is not turned on if going to https://yourdomainname gives you a 404 error or page not found. If you get your regular index.html or index.php you will know it is enabled.

If you are on a PLESK box, you will need SSL enabled, on plesk your secure documents are located in /yourname/httpsdocs/

To prevent you having to have 2 duplicate copies of your installation and use twice the hard drive space, call your hosting provider and have them do a symlink between /httpdocs and /httpsdocs

If you have SSH access and can do it via command line yourself use these commands.

step 1. login to your box via SSH.
step 2. navigate to /home/httpd/vhosts/domainname.
step 3. ***make sure your httpsdocs folder is empty***
step 4. type rm -r -f httpsdocs (this will delete that folder) hit enter
step 5. type (this first char is a lower case L) ln -s httpsdocs httpdocs (this makes the link) hit enter
step 6. type (both of these chars are lower case L) ls -l hit enter (this will list the ownership of all files and directories, you will see "username.psaserv httpdocs>httpsdocs"

If that yourusername.psaserv is your username good if not
step 7. type chown yourusername.psaserv httpsdocs

You are now done, and when your store attempts to switch from http to https, you will not lose sessions, nor have files you cant find.


Next Issue
FUNKY EMAIL
This is the way it is designed for security purposes! the middle 4 numbers are emailed to the store owner and the outside 8 are stored in the database. A store owner can get the full number by looking into the database table_orders and adding the middle 4 he/she got emailed to it in the center.


ISSUE 3
Credit Card Security Code

Actually The linkpoint module does require this. It also comes with pop-up help for your customers titled "what is a cvv code". I even included a new linkpointms1.php file which takes out the option for your customers to have a check box saying that they cant read their code. This is too big a security risk and i would rather lose the sale than sell it to someone without them knowing their cvv code. Most times the only one not to have this is the guy who stole the number from somewhere!



Clifton Murphy
I support this module free of charge at 1-(910)-298-8260
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Credit card module clauska osCMax v2 Customization/Mods 0 06-15-2006 07:42 AM
Credit Card via Authorize.net lem osCMax v2 Installation issues 1 07-18-2005 12:43 PM
Credit card processing ksl8313 osCommerce 2.2 Modification Help 4 02-07-2005 12:23 AM
Credit Card will not process...HELP! lem osCMax v1.7 Discussion 0 12-29-2004 10:04 AM
Credit card month... damos osCommerce 2.2 Modification Help 1 04-10-2003 01:21 PM


All times are GMT -8. The time now is 04:03 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax