Forums / Addon Payment Modules / Credit Card - missing digits not sent

Credit Card - missing digits not sent

Locked

Views: 2,172

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
2 Mar 2010, 3:33 PM
#1
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Credit Card - missing digits not sent

Today an order arrived for a customer along with the second email for missing digits.

Instead of the missing digits, this was the message?

MODULE_PAYMENT_CC_TEXT_MIDDLE_DIGITS_MESSAGE

Any ideas what's wrong?

Thanks.:shocking:

28 years web design and counting.
https://stuffdone.com

2 Mar 2010, 4:25 PM
#3
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Credit Card - missing digits not sent

bonnit:

http://www.zen-cart.com/forum/showthread.php?t=50217

Wonder why that did not show up in my search?

What would have happened to the existing language file? Would it just stop working without notice?

Also according to the site admin my site is current? If there was a new language file why would that make the old language file stop working?

28 years web design and counting.
https://stuffdone.com

2 Mar 2010, 4:36 PM
#4
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Credit Card - missing digits not sent

That thread is older than the version I am using so perhaps this needs a fresh revisit.

I am using Zen Cart 1.3.8 which is reporting itself as current. There have been no changes or mods made in a number of months. This is the first time the message was missing credit card information.

I don't think that referenced thread applies in this case as the files are current including the language file cc.php with the defines for that email field.

Any other ideas as to a possible cause for this? :unsure:

28 years web design and counting.
https://stuffdone.com

2 Mar 2010, 5:29 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Credit Card - missing digits not sent

Have you looked at includes/languages/english/modules/payment/cc.php to see if it exists and if the define is there on line 23 ?

Files can be corrupted. I suppose it's also possible your site has been hacked. Checking that file would be the best first step.

The display in admin that your site is current only refers to patches you've installed. Zencart doesn't upload anything automatically.

2 Mar 2010, 5:41 PM
#6
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Credit Card - missing digits not sent

stevesh:

Have you looked at includes/languages/english/modules/payment/cc.php to see if it exists and if the define is there on line 23 ?

Files can be corrupted. I suppose it's also possible your site has been hacked. Checking that file would be the best first step.

The display in admin that your site is current only refers to patches you've installed. Zencart doesn't upload anything automatically.

Yes...it does exist and the line is present. However if there was a hack I'm not sure because I checked the off line copy which appeared ok then uploaded it so if there was a hack on that file I probably over-wrote it. :blush:

28 years web design and counting.
https://stuffdone.com

2 Mar 2010, 7:21 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Credit Card - missing digits not sent

Have you tested to see if it does this all the time?

2 Mar 2010, 8:07 PM
#8
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Credit Card - missing digits not sent

stevesh:

Have you tested to see if it does this all the time?

A test will not say what it does "all the time" because it is a customer's cart and I normally don't know what happens on a daily basis unless they send me an error.

I will try another test shortly to see if it does it again.

Paul

28 years web design and counting.
https://stuffdone.com

3 Mar 2010, 9:32 AM
#9
bonnit avatar

bonnit

Zen Follower

Join Date:
Jun 2009
Location:
Kent, UK
Posts:
350
Plugin Contributions:
0

Re: Credit Card - missing digits not sent

the fact that a language constant is displaying instead of the language definition within your file (cc.php) implies that either there is an issue calling the file, either it has been moved or you have an overide in a template folder (if you are using template_default) or you do/did not have that definition present in the language file. is it working now that you have updated it?

http://www.mods.livvylougifts.co.uk Zen Cart Mod Site
http://www.livvylougifts.co.uk Personalised gifts for every occasion

3 Mar 2010, 3:20 PM
#10
stuffdone avatar

stuffdone

Zen Follower

Join Date:
Jul 2007
Posts:
156
Plugin Contributions:
0

Re: Credit Card - missing digits not sent

Yes the test order processed properly and sent the missing digits.

I guess I will have to look for some tracks to see if the logs show any unusual access to the server.

Thanks.:cool:

28 years web design and counting.
https://stuffdone.com

13 Mar 2010, 12:24 AM
#11
hbjapsurfer avatar

hbjapsurfer

New Zenner

Join Date:
Feb 2009
Posts:
14
Plugin Contributions:
0

Re: Credit Card - missing digits not sent

Hi everyone,

I have the same problem with you guys.

I use Zencart v1.3.8 and the middle digits of the credit cards do not get sent to our email once in a while. (maybe 2 or 3 orders out of 40 orders per day)

I looked in to line 23 of the cc.php, and it's not corrupted.

We thought it was the email service so we changed our service and it is still giving the same problem. However, we found out that the middle digit email is not getting sent at all from the SMTP log.

Do you guys have any idea why this problem occurs?:yuck:
Thank you in advance:smile:

13 Mar 2010, 3:14 AM
#12
drbyte avatar

drbyte

Sensei

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

Re: Credit Card - missing digits not sent

Zen Cart does send the email. If it was encountering an error, it would give you a blank white screen instead of completing the order process.
Or, if you've got an invalid email address specified in the module's settings, then of course it can't send the email. If someone else's email address is in there, then of course you won't get the email.

So ... Zen Cart is sending the email. But the mailserver operated by your hosting company is apparently rejecting the message. Best to contact them for assistance in troubleshooting.
Better yet, use a live gateway service, since with email NOT being a secure communications vehicle, sending cc digits over email is NOT a PCI compliant activity, and your cc company may not be very happy with you using that method.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 Mar 2010, 2:42 AM
#13
hbjapsurfer avatar

hbjapsurfer

New Zenner

Join Date:
Feb 2009
Posts:
14
Plugin Contributions:
0

Re: Credit Card - missing digits not sent

Dr. Byte,

Thank you very much for your reply.

I guess I will have to contact the email service provider.
I will look in to the Payment Gateway. It's definitely the way to go.:D