Hey Zenners,
Since I upgraded to 1.3.5, I'm no longer receiving the middle digits of cc when an order is placed. This is the message I get:
MODULE_PAYMENT_CC_TEXT_MIDDLE_DIGITS_MESSAGE
Thoughts?
Craig
Hey Zenners,
Since I upgraded to 1.3.5, I'm no longer receiving the middle digits of cc when an order is placed. This is the message I get:
MODULE_PAYMENT_CC_TEXT_MIDDLE_DIGITS_MESSAGE
Thoughts?
Craig
You're missing the updated language file
/includes/languages/english/modules/payment/cc.php
.
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.
Thanks for replying. That fixed it. I updated the file with the most current version and it seems to be working.
Thanks!
Craig Hoffman
I have had this same problem, but some of my sites are still 1.2.7 and some are 1.3.5.
My question is this, can I get the latest version of updated language file
/includes/languages/english/modules/payment/cc.php and put it on the older sites? Will this work if I get the 1.3.6 verion of the updated language file
/includes/languages/english/modules/payment/cc.php and put it on my sites.
I'm not sure about version 1.2.7. I used latest lang files (1.3.6) on a site running 1.3.5 and it seems to be working fine.
The v1.3.6 module can be used on prior versions.
If you need to use it on v1.2.7, you'll have to make one change to the code of the module file:will have to be changed to:Code:class cc extends base {The language file contains some updates which can be easily merged into older versions as well.Code:class cc {
.
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.
I did some more testing on my sites and found that if I tried a test order on checkout without putting in my credit card number or even not including all 16 digits of the credit card, and found indeed that a message would come up and say that I had made an error or forgot my cc number.
My server's support person seems to think that maybe the middle numbers are occasionally not showing up because of the database.
Any thoughts or ideas so this won't happen anymore?
I had this same problem. I was getting an email sent to me that had as the only content MODULE_PAYMENT_CC_TEXT_MIDDLE_DIGITS_MESSAGE. I went to an old version of Zen-Cart and compared the /includes/modules/payment/cc.php to the one that existed in my newer version. I changed the message creation line from:
$message = sprintf(MODULE_PAYMENT_CC_TEXT_MIDDLE_DIGITS_MESSAGE, $insert_id, $this->cc_middle);
...to this...:
$message = 'Order #' . $insert_id . "\n\n" . 'Middle: ' . $this->cc_middle . "\n\n";
After I made the change, the email for the credit card middle digits started working.
I hope this helps anyone who might be having similar problems.
Richard Robbins
RobbinsSports.com - supplier of Sports Bags, Sports Uniforms, Sports Stopwatches, and more.
The more correct solution is to fix the missing define ...
If the constant name of MODULE_PAYMENT_CC_TEXT_MIDDLE_DIGITS_MESSAGE is missing from your cc language file, you'll only see the constant name in your email instead of its defined value.
It *should* be something lilke this:The FAQ which explains this is here: https://www.zen-cart.com/tutorials/index.php?article=95Code:define('MODULE_PAYMENT_CC_TEXT_MIDDLE_DIGITS_MESSAGE', 'Please direct this email to the Accounting department so that it may be filed along with the online order it relates to: ' . "\n\n" . 'Order: %s' . "\n\n" . 'Middle Digits: %s' . "\n\n");
.
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.
Hi again,
You know I am still having the same problem even though I have upgraded to 1.3.8 from 1.3.7.
I checked with the internet provider and they went through their system and found no errors.
How can i resolve this issue.
need help soon loosing orders.
Bill