Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Sep 2007
    Posts
    23
    Plugin Contributions
    0

    Default Credit card number in E-mail order confirmation

    Order confirmation sent by e-mail to a customer doesn't include a credit card number used while ordering... Is it possible to make e-mail order confirmation the SAME as it appears once the order is made online?

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Credit card number in E-mail order confirmation

    What payment modules are you using?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Mar 2006
    Location
    Australia
    Posts
    289
    Plugin Contributions
    3

    Default Re: Credit card number in E-mail order confirmation

    Hi there
    CC # is private information and should never be emailed! I would be very unhappy if I where a customer of your and you would put my CC # in my order confirmation.

  4. #4
    Join Date
    Sep 2007
    Posts
    23
    Plugin Contributions
    0

    Default Re: Credit card number in E-mail order confirmation

    Quote Originally Posted by Kim View Post
    What payment modules are you using?
    I'm using:
    - credit card;
    - check/money order.

  5. #5
    Join Date
    Sep 2007
    Posts
    23
    Plugin Contributions
    0

    Default Re: Credit card number in E-mail order confirmation

    Quote Originally Posted by wolfsz View Post
    Hi there
    CC # is private information and should never be emailed! I would be very unhappy if I where a customer of your and you would put my CC # in my order confirmation.
    I don't want to e-mail the whole information about the credit card, but just like in the order confirmation that appears online before you receive your order confirmation by e-mail... like only - credit card type and credit card number in the form like 4111XXXXXXXX1111, so the customer can remember what credit card he uses as he usually has a number of them.

  6. #6
    Join Date
    Sep 2007
    Posts
    23
    Plugin Contributions
    0

    Default Re: Credit card number in E-mail order confirmation

    Any suggestions???

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Credit card number in E-mail order confirmation

    Quote Originally Posted by SanchoPanza View Post
    only - credit card type and credit card number in the form like 4111XXXXXXXX1111, so the customer can remember what credit card he uses as he usually has a number of them.
    Is this a complaint you get from your customers on a regular basis?
    .

    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.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Credit card number in E-mail order confirmation

    /includes/classes/order.php
    line 942:
    Code:
        if (is_object($GLOBALS[$_SESSION['payment']])) {
          $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" .
          EMAIL_SEPARATOR . "\n";
          $payment_class = $_SESSION['payment'];
          $email_order .= $GLOBALS[$payment_class]->title . "\n\n";
          $email_order .= (isset($this->info['cc_type']) && $this->info['cc_type'] != '') ? $this->info['cc_type'] . "\n\n" : '';
          $email_order .= ($GLOBALS[$payment_class]->email_footer) ? $GLOBALS[$payment_class]->email_footer . "\n\n" : '';
        } else {
          $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" .
          EMAIL_SEPARATOR . "\n";
          $email_order .= PAYMENT_METHOD_GV . "\n\n";
        }
        $html_msg['PAYMENT_METHOD_TITLE']  = EMAIL_TEXT_PAYMENT_METHOD;
        $html_msg['PAYMENT_METHOD_DETAIL'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->title : PAYMENT_METHOD_GV );
        $html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) && $GLOBALS[$payment_class]->email_footer != '') ? nl2br($GLOBALS[$payment_class]->email_footer) : $this->info['cc_type'];
    change to:
    Code:
        if (is_object($GLOBALS[$_SESSION['payment']])) {
          $cc_num_display = (isset($this->info['cc_number']) && $this->info['cc_number'] != '') ? substr($this->info['cc_number'], 0, 4) . str_repeat('X', (strlen($this->info['cc_number']) - 8)) . substr($this->info['cc_number'], -4) . "\n\n" : '';
          $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" .
          EMAIL_SEPARATOR . "\n";
          $payment_class = $_SESSION['payment'];
          $email_order .= $GLOBALS[$payment_class]->title . "\n\n";
          $email_order .= (isset($this->info['cc_type']) && $this->info['cc_type'] != '') ? $this->info['cc_type'] . ' ' . $cc_num_display . "\n\n" : '';
          $email_order .= ($GLOBALS[$payment_class]->email_footer) ? $GLOBALS[$payment_class]->email_footer . "\n\n" : '';
        } else {
          $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" .
          EMAIL_SEPARATOR . "\n";
          $email_order .= PAYMENT_METHOD_GV . "\n\n";
        }
        $html_msg['PAYMENT_METHOD_TITLE']  = EMAIL_TEXT_PAYMENT_METHOD;
        $html_msg['PAYMENT_METHOD_DETAIL'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->title : PAYMENT_METHOD_GV );
        $html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']]) && $GLOBALS[$payment_class]->email_footer != '') ? nl2br($GLOBALS[$payment_class]->email_footer) : (isset($this->info['cc_type']) && $this->info['cc_type'] != '' ? $this->info['cc_type'] . ' ' . $cc_num_display . "\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.

  9. #9
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: Credit card number in E-mail order confirmation

    Hi,

    I have version 1.3.8a. Regarding cc# in the email confirmation. My email confirmations used to say just this:

    Payment Method
    ------------------------------------------------------
    Credit Card

    MasterCard
    Now they say this:
    Payment Method
    ------------------------------------------------------
    Credit Card

    Visa 1111XXXXXXXX1111
    How do I change it back to the way it was, or at least change it to:
    Payment Method
    ------------------------------------------------------
    Credit Card

    Visa XXXXXXXXXXXX1111
    Thanks.

  10. #10
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: Credit card number in E-mail order confirmation

    Anyone know how to edit 1.3.8a to show cc info in the confirmation with just the last 4 numbers showing?

    Payment Method
    ------------------------------------------------------
    Credit Card

    Visa XXXXXXXXXXXX1111

    Thanks.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 21 Aug 2012, 07:16 AM
  2. Replies: 5
    Last Post: 29 Nov 2010, 06:28 AM
  3. Full Credit Card Number in e-mail
    By quantum in forum Built-in Shipping and Payment Modules
    Replies: 21
    Last Post: 10 May 2007, 04:23 AM
  4. Credit card number from last order reused
    By DataDeskGuy in forum Managing Customers and Orders
    Replies: 1
    Last Post: 18 Oct 2006, 07:00 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR