Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Mar 2005
    Posts
    35
    Plugin Contributions
    0

    Default Credit Card Split Email Not Working - 1.3.5

    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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Credit Card Split Email Not Working - 1.3.5

    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.

  3. #3
    Join Date
    Mar 2005
    Posts
    35
    Plugin Contributions
    0

    Default Re: Credit Card Split Email Not Working - 1.3.5

    Thanks for replying. That fixed it. I updated the file with the most current version and it seems to be working.

    Thanks!
    Craig Hoffman

  4. #4
    Join Date
    Sep 2005
    Posts
    57
    Plugin Contributions
    0

    Default Re: Credit Card Split Email Not Working - 1.3.5

    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.

  5. #5
    Join Date
    Mar 2005
    Posts
    35
    Plugin Contributions
    0

    Default Re: Credit Card Split Email Not Working - 1.3.5

    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.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Credit Card Split Email Not Working - 1.3.5

    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:
    Code:
    class cc extends base {
    will have to be changed to:
    Code:
    class cc {
    The language file contains some updates which can be easily merged into older versions as well.
    .

    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.

  7. #7
    Join Date
    Sep 2005
    Posts
    57
    Plugin Contributions
    0

    Default Re: Credit Card Split Email Not Working - 1.3.5

    Quote Originally Posted by dlaitila View Post
    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 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?

  8. #8
    Join Date
    Feb 2006
    Location
    Utah, US
    Posts
    6
    Plugin Contributions
    0

    Default Re: Credit Card Split Email Not Working - 1.3.5

    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.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Credit Card Split Email Not Working - 1.3.5

    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:
    Code:
      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");
    The FAQ which explains this is here: https://www.zen-cart.com/tutorials/index.php?article=95
    .

    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.

  10. #10
    Join Date
    Jan 2007
    Posts
    87
    Plugin Contributions
    0

    Default Re: Credit Card Split Email Not Working - 1.3.5

    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

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Missing middle 8 numbers on credit card email not working on GoDaddy
    By chrisbud in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 26 Sep 2009, 04:48 PM
  2. credit card manual process split email is not working for me
    By zadwekat in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 14 Dec 2008, 10:10 PM
  3. How can I receive split Credit Card info when customers email is incorrect?
    By postergame in forum Managing Customers and Orders
    Replies: 2
    Last Post: 30 Nov 2007, 11:45 PM
  4. SEO URLS - Credit card details not being split and sent!?
    By amdowney in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 1 May 2007, 10:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg