Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default In 1.5.5f email confirmation after upgrade

    I upgraded from 1.54 to 1.55f and everything seems to be running well. I had to make some adjustments but overall, I am happy I took the advice of the zen cart forum on keeping my site current.

    One issue I found and need some assistance with.

    On the order confirmation email under payment method I used to get the credit card type for example American Express.

    In 1.5.5f I get just Credit card without the type of card.
    How would I go about to show the credit card type within the email?

    On 1.5.4 order confirmation email used to look like this

    Payment Method
    ----------------------------------------
    Credit card
    American Express

    On 1.5.5f order confirmation email looks like this

    Payment Method
    ----------------------------------------
    Credit card

  2. #2
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: In 1.5.5f email confirmation after upgrade

    The expectation of providing the credit card type remains in the order process when generating the email as can be seen in includes/classes/order.php within the function send_order_email. Provided that the order's info has a credit card type assigned to cc_type which would likely/primarily be a factor of the payment method (unless modifications made to or associated with the above class file affects the parameter.)

    Basically as the order's email is processed, if cc_type is not set or it is blank, then it doesn't include it as part of either the text or html email as applicable.

    So, what payment method(s) are being used where this data is not captured? Also what type of email is being sent and possibly what modifications away from the default install of the checkout email or order class have been made?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: In 1.5.5f email confirmation after upgrade

    this is my email_template_checkout.html. Everything seems top look good. Maybe I am missing something. But the credit card type as mentioned in the previous post still does not display on the email

    Payment module -- Auhorize.net (AIM)
    path \email\email_template_checkout.html

    HTML Code:
    <body>
    <div class="holder">
    
      <!-- Header Section -->
      <div class="header">
      <img src="email/header.jpg" alt="logo" />
      </div>
    
    
      <!-- Content Section -->
      <div class="content">
        <div class="content-line">
          $EMAIL_TEXT_HEADER <br /><br />
          $EMAIL_FIRST_NAME $EMAIL_LAST_NAME,<br />
          $EMAIL_THANKS_FOR_SHOPPING<br />
          $EMAIL_DETAILS_FOLLOW<br /><br />
    
          $INTRO_ORDER_NUM_TITLE $INTRO_ORDER_NUMBER<br />
          $INTRO_DATE_TITLE $INTRO_DATE_ORDERED<br />
          <a href="$INTRO_URL_VALUE">$INTRO_URL_TEXT</a>
      </div>
      <div class="content-line"><strong>$PRODUCTS_TITLE</strong></div>
        <div class="order-detail-area">$PRODUCTS_DETAIL</div>
      <div class="order-detail-area">$ORDER_TOTALS</div>
    
      <div class="comments">$ORDER_COMMENTS</div>
    
     <div class="content-line"><strong>$HEADING_ADDRESS_INFORMATION</strong></div>
      <div class="address-block">
      <table border="0" width="100%" cellspacing="0" cellpadding="2">
        <tr>
        <td valign="top" width="50%">
          <table border="0" width="100%" cellspacing="0" cellpadding="2">
          <tr>
            <td class="content-line-title"><strong>$ADDRESS_DELIVERY_TITLE</strong></td>
          </tr>
          <tr>
            <td class="address">$ADDRESS_DELIVERY_DETAIL</td>
          </tr>
    
          <tr>
            <td class="content-line-title"><strong>$SHIPPING_METHOD_TITLE</strong></td>
          </tr>
          <tr>
            <td class="content-line">$SHIPPING_METHOD_DETAIL</td>
          </tr>
          </table>
        </td>
        <td valign="top" width="50%">
          <table border="0" width="100%" cellspacing="0" cellpadding="2">
          <tr>
            <td class="content-line-title">$ADDRESS_BILLING_TITLE</td>
          </tr>
          <tr>
            <td class="address">$ADDRESS_BILLING_DETAIL</td>
          </tr>
          <tr>
            <td class="content-line-title"><strong>$PAYMENT_METHOD_TITLE</strong></td>
          </tr>
          <tr>
            <td class="payment-detail">$PAYMENT_METHOD_DETAIL</td>
          </tr>
          <tr>
            <td class="payment-footer">$PAYMENT_METHOD_FOOTER</td>
          </tr>
          </table>
         </td>
        </tr>
      </table>
     </div>
    </div>
    
      <!-- Footer Section -->
      <div class="footer">
        <div class="copyright">$EMAIL_FOOTER_COPYRIGHT</div>
      </div>
    
    </div>
    <div class="disclaimer">
      <div class="disclaimer1">$EMAIL_DISCLAIMER</div>
      <div class="disclaimer2">$EMAIL_SPAM_DISCLAIMER</div>
    </div>
    $EXTRA_INFO
    </body>
    </html>

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: In 1.5.5f email confirmation after upgrade

    It would probably help to know which credit-card provider you're using.

  5. #5
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: In 1.5.5f email confirmation after upgrade

    Lat9 if i am answering your question correctly.

    -- We accept --
    - American Express
    - Discover
    - master card
    - visa


    Authorize.net is my merchant processor

  6. #6
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: In 1.5.5f email confirmation after upgrade

    After doing more research i checked the database and notice in the orders table that "cc_type" is not being imported during the transaction.
    I am using Authorize.net (AIM) as meniotned in the previous post.

    So i guess the real issue is why the cc type is not being imported during a cc payment

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: In 1.5.5f email confirmation after upgrade

    What other plugins do you have installed? I ask because I've got a.net loaded on my demo site and the credit-card types get properly recorded during the checkout process.

  8. #8
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: In 1.5.5f email confirmation after upgrade

    I don't have that many module installed. The only one I think could have an impact would be Fast and Easy Checkout.

    Is the order.php the file that needs to adjusted to get the CC_type to display. **Note I have not made any changes to this file.

    I am really lost on why this is not dispaying

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: In 1.5.5f email confirmation after upgrade

    That could surely impact that collection. What happens if you temporarily disable FEC? Does the cc-info show up then?

  10. #10
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,691
    Plugin Contributions
    9

    Default Re: In 1.5.5f email confirmation after upgrade

    Quote Originally Posted by chadlly2003 View Post
    I don't have that many module installed. The only one I think could have an impact would be Fast and Easy Checkout.

    Is the order.php the file that needs to adjusted to get the CC_type to display. **Note I have not made any changes to this file.

    I am really lost on why this is not dispaying
    chadlly,
    be lost no more!

    pretty apparent that the aim module was changed in ZC and that is why your cc_type is not getting added to the orders table. on lines 314-320 of:

    includes/modules/payment/authorizenet_aim.php

    it looks like you need to add the cc_type.

    PHP Code:
      function before_process() {
        global 
    $response$db$order$messageStack;
        
    $order->info['cc_owner']   = $_POST['cc_owner'];
        
    $order->info['cc_number']  = str_pad(substr($_POST['cc_number'], -4), strlen($_POST['cc_number']), "X"STR_PAD_LEFT);
        
    $order->info['cc_expires'] = '';  // $_POST['cc_expires'];
        
    $order->info['cc_cvv']     = '***';
        
    $order->info['cc_type']    = $_POST['cc_type'];
        
    $sessID zen_session_id(); 
    pretty sure that should do the trick.... have not tested and i could be wrong; however that line involving cc_type is in v154 and removed from v155.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 Confirmation emails wont go to my email address after purchase
    By chetwilko in forum General Questions
    Replies: 10
    Last Post: 10 Sep 2015, 03:48 PM
  2. Sending Customer Confirmation Email After Purchase
    By cqdeline in forum Managing Customers and Orders
    Replies: 5
    Last Post: 24 May 2012, 12:26 PM
  3. order confirmation email issue after upgrade
    By gorie in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 14 Aug 2010, 06:55 PM
  4. How to resend new order confirmation email after modified?
    By andrew1328 in forum Managing Customers and Orders
    Replies: 0
    Last Post: 1 Jun 2010, 03:57 PM
  5. No confirmation email after order using IcePay Plugin
    By jcdk in forum Addon Payment Modules
    Replies: 5
    Last Post: 27 Nov 2009, 10:47 AM

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