Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / credit card module always sends middle digits.

credit card module always sends middle digits.

Locked

Views: 5,280

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
11 May 2006, 8:23 AM
#1
tehcronage avatar

tehcronage

New Zenner

Join Date:
May 2006
Posts:
3
Plugin Contributions:
0

credit card module always sends middle digits.

the credit card module always sends the middle digits to whatever email address is defined as the administrators address.
i thought its only suposed to do that if an email address is defined in split cc box.
so if you dont put anything in that box,
you get an error message for every order sent to the admins email complaining that no email address was entered for the split cc (middle) to go to and thus, the transaction will be not be able to process.
however, as i have enabled "store cc number" then the admin can see the cc number and process it, then click mask. zencart claims this is a security risk.
that seems secure enough for me...but this configuration yeilds the annoying error emails, and in the error emails they send the middle digits.
personally, i think storing the middle digits of everyones credit card in my yahoo email address account doesnt seem that safe. after you press mask, the information is gone from the database, and anywhere else. that seems the safest. but then i have to go delete all those emails....

someone set me straight here...

11 May 2006, 9:35 AM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: credit card module always sends middle digits.

the number is split so that the entire number is NOT stored in the database,
you also need the CVV which has to be emailed as its NOT legal to store this number inthe DB under any circumstances.

and the middle numbers are worthless,

the first 4 are card type and the last 4 are the identifiers.

11 May 2006, 9:54 AM
#3
tehcronage avatar

tehcronage

New Zenner

Join Date:
May 2006
Posts:
3
Plugin Contributions:
0

Re: credit card module always sends middle digits.

well the cvv is stored in the db in an encrypted format.

it just seems too tedious to have to check 2 places for each order to get the number.
is this really how everyone does it?
what if they have hundreds of orders a day?

24 Jan 2008, 1:59 PM
#4
ashain avatar

ashain

New Zenner

Join Date:
Apr 2007
Posts:
9
Plugin Contributions:
0

Re: credit card module always sends middle digits.

I am also experiencing this problem. We are using rsa encryption which I feel is secure. However, if I leave** Split Credit Card Email Address **field blank I receive error messages with a warning.

What is the appropriate way to stop zencart from sending these error messages?

Thanks!

24 Jan 2008, 3:15 PM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: credit card module always sends middle digits.

the way to stop sending the emails is to stop trying to beat the system,

If your getting enough business that its too time consuming to use the split then get a real merchants account and gateway

24 Jan 2008, 3:16 PM
#6
rush_woman avatar

rush_woman

Zen Follower

Join Date:
Jan 2007
Location:
California
Posts:
328
Plugin Contributions:
0

Re: credit card module always sends middle digits.

Every credit card processor I've ever spoken with REQUIRES cc #s to be split. And if someone hacks your Admin, all those orders will NOT be protected anymore. Sending some cc digits to email addys insures a higher level of security, even to the inconvenience of store owners.

To change the ZC way of processing credit card orders is inviting trouble further down the road. Security should be a major concern for all store owners as everyday hackers find more ways to undermine yesterday's security standard.

24 Jan 2008, 3:28 PM
#7
ashain avatar

ashain

New Zenner

Join Date:
Apr 2007
Posts:
9
Plugin Contributions:
0

Re: credit card module always sends middle digits.

I completely agree that security is of the utmost importance and I'm not trying to beat the system.

In order to access any of the credit card info on the site, an administrator must upload a 1024 bit encrypted private key. This way, even if somebody hacks the site there is no access to the credit cards.

The user can log in, upload the key, and access credit card number instead of juggling e-mails.

There is nothing wrong with also sending the e-mail, but in this case it is superfluous.

Is this method less secure than splitting up the CC number?

24 Jan 2008, 4:46 PM
#8
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: credit card module always sends middle digits.

ashain: Not everyone knows how to use the linux private key, not every can use it (share host)
And even with private, if the hacker can hack into your host server, it doesnt really matter anymore. This practice is REQUIRED by the laws in some areas, and some host may even refuse it (and force you to use merchant account)

24 Jan 2008, 6:44 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: credit card module always sends middle digits.

The CC module was changed many versions ago to always send the email even if no email address was supplied ... because many storeowners neglected to even set the email address. So, leaving it blank wasn't a good option. As soon as it was set to send the email anyway, most of the problems disappeared, because the alert notice in the emails that were sent helped them figure out what they'd done wrong.

If you'd rather it didn't send those emails, try this:

Create a new file: /includes/extra_configures/skip_cc_emails.php
Put this as the content: ```

<?php define('EMAIL_MODULES_TO_SKIP', 'cc_middle_digs'); ```That should do it.
27 Jan 2008, 9:22 AM
#10
ashain avatar

ashain

New Zenner

Join Date:
Apr 2007
Posts:
9
Plugin Contributions:
0

Re: credit card module always sends middle digits.

That did the trick.

Thanks a lot!

14 May 2008, 8:41 AM
#11
wild0ne avatar

wild0ne

New Zenner

Join Date:
May 2008
Posts:
10
Plugin Contributions:
0

Re: credit card module always sends middle digits.

Hi, this looked as if it would work for me too, unfortunately it took my store down, it was loading blank pages, ooops. Removed code and site back up again. Zen Cart version 1.3.8a.

23 Jun 2008, 8:11 PM
#12
frankielee avatar

frankielee

New Zenner

Join Date:
Jun 2008
Posts:
4
Plugin Contributions:
0

Re: credit card module always sends middle digits.

Did I miss something here? When did emails become a secure place to expose CC #s? I was aghast when I saw this!

24 Jun 2008, 2:33 PM
#13
circlegtractors avatar

circlegtractors

New Zenner

Join Date:
Aug 2007
Posts:
33
Plugin Contributions:
0

Re: credit card module always sends middle digits.

to make a long story short, we have hughes mail. They have a lot of problems with the middle digits coming through there system, but they are currently trying to fix it, so the emails still need to go through them so they can tell what the system is doing. In the mean time i need those digits. Is there any way i can have those middle digits sent to a second email address also?

Thanks
Casey

25 Jun 2008, 12:28 AM
#14
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: credit card module always sends middle digits.

Admin > E-Mail Options : gives you options for sending copies to another address.

25 Jun 2008, 4:52 AM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: credit card module always sends middle digits.

Actually, setting the email address for the CC module to send the middle digits somewhere must be done from the CC module itself.
And, it presently only allows for the entry of a single email address.

One workaround would be to set up an email "forward" alias in your hosting account. Then send emails to that alias. You can set up the alias so that it does the forwarding to multiple destinations. Or you could just send to a different address altogether if that address is not having the problem your current one's having.

25 Jun 2008, 1:13 PM
#16
circlegtractors avatar

circlegtractors

New Zenner

Join Date:
Aug 2007
Posts:
33
Plugin Contributions:
0

Re: credit card module always sends middle digits.

thanks for the responses. I will give it a shot dr byte but not sure if that will work because my email service is not getting the emails. Hopefully though they think they are about to solve the mystery. I believe that there spam filter within hughes was blocking this email, thinking it looked like spam. Hopefully it will solve the problem.

Thanks again,
Casey

25 Jun 2008, 7:47 PM
#17
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: credit card module always sends middle digits.

Is there some reason for not using eMail addresses within your Hosting account instead of Forwarding somewhere else?

eMail problems can be the most difficult of problems to sort out and Forwarding eMails will add another level of complexity; usually making it very difficult if not impossible for your Hoster to help correct.

And even if your Hoster has a Spam filter, most will not cause any problems for eMail sent from: local address to: local address.