Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2007
    Posts
    63
    Plugin Contributions
    0

    Default Order Notification Email Change Format?

    I am testing the Credit Card processing. When the Notification message is generated, the first 2 lines is Authorization code. How do I rearrange the message, so the first 160 characters (for my text message notification) has product description/order amount, while the author. numbers show after that?
    TIA

  2. #2
    Join Date
    Jul 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: Order Notification Email Change Format?

    bump
    anybody?

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

    Default Re: Order Notification Email Change Format?

    You will have to customize the code to do that.
    The product-details for the email are built in the create_add_products() function inside the order.php class, and the actual email is sent by the send_order_email() function of that same class.
    The admin copy of the email includes the customer's email, sandwiched between the auth-code at the top and some office-use-only info at the bottom.
    To extract the product details for just the admin email will require some duplication of code and reworking of the overall content. Be sure to test that you haven't fudged the customers' email after making your changes.
    .

    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.

  4. #4
    Join Date
    Jul 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: Order Notification Email Change Format?

    Thank you Dr. Byte! One more question, I am sure is too simple for the most of you here. When I customize the code and debug, do I create a test purchase, process my own credit card, etc. or there is a shortcut to debugging?
    TIA

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

    Default Re: Order Notification Email Change Format?

    Always best to test with live processing ... which means real credit cards.
    You can refund the credit card (same day) from within your merchant account console if you want to avoid really being charged.
    .

    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.

  6. #6
    Join Date
    Jul 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: Order Notification Email Change Format?

    Thank you!

 

 

Similar Threads

  1. Admin Order Notification email
    By Chromio in forum Customization from the Admin
    Replies: 2
    Last Post: 7 Mar 2014, 02:52 AM
  2. Sending order notification email - not the whole order
    By liderbug in forum General Questions
    Replies: 5
    Last Post: 25 Mar 2011, 03:44 AM
  3. email notification image change
    By Soulkreed in forum General Questions
    Replies: 4
    Last Post: 13 Jan 2010, 07:18 AM
  4. Blank Order Notification Email
    By rhook in forum General Questions
    Replies: 0
    Last Post: 11 Nov 2009, 07:52 PM
  5. Order Notification Email
    By zpyder in forum General Questions
    Replies: 2
    Last Post: 2 Feb 2007, 09:49 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