Results 1 to 3 of 3

Hybrid View

  1. #1

    email error Missing payment details in HTML checkout email

    Hi!
    I am missing payment details (payment-footer) in HTML checkout emails.
    I have this problem for the following Payment modules:
    • Check/Money Order
    • Postepay (additional module from italian Zen-Cart)
    Looking at the email source, I found the td empty:
    <td class="payment-footer"></td>

    In text format emails or looking at the text version of the html email, I can read the complete details.

    I checked email_template_checkout.html, and I have there a row for
    $PAYMENT_METHOD_FOOTER

    Is there someone that can help me finding the reason?
    What I am missing?
    Thanks

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

    Default Re: Missing payment details in HTML checkout email

    There were some fixes for that in some of the newer releases.

    Essentially, there is a line in the bottom of /includes/classes/order.php, which should read thus:
    Code:
        $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'];
    To locate that line on your installed version, simply do a search for ['PAYMENT_METHOD_FOOTER']
    Then make the appropriate adjustments.
    .

    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

    Default Re: Missing payment details in HTML checkout email

    Thank you MrByte
    I found that row and fixed the problem changing it to:
    $html_msg['PAYMENT_METHOD_FOOTER'] = (is_object($GLOBALS[$_SESSION['payment']] && $GLOBALS[$payment_class]->email_footer != '') ? $GLOBALS[$payment_class]->email_footer : $GLOBALS[$payment_class]->email_footer );

 

 

Similar Threads

  1. HTML email file missing
    By Akasashasha in forum General Questions
    Replies: 5
    Last Post: 3 Dec 2010, 09:38 PM
  2. Order details missing -- using HSBC payment gateway
    By jay soma in forum Addon Payment Modules
    Replies: 1
    Last Post: 2 Sep 2009, 05:30 PM
  3. email order problem - missing part of austpost shipping details
    By chrisb in forum Managing Customers and Orders
    Replies: 1
    Last Post: 24 Feb 2008, 11:51 AM
  4. [Done v1.3.8] No details in HTML email footers
    By Noutje in forum Bug Reports
    Replies: 5
    Last Post: 4 Oct 2007, 12:41 AM
  5. Replies: 3
    Last Post: 28 Mar 2007, 02:39 AM

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