Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    280
    Plugin Contributions
    0

    Authorize.net (AIM) need Tranaction ID and Auth Code on merchant emails

    Can the Authorize.net (AIM) Tranaction ID and Auth Code be inserted into the mechant email when it returns from auth only?

    This is really important and a time saver to my business.

    thanks,
    Jeff Michaels

  2. #2
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    280
    Plugin Contributions
    0

    Default Re: Authorize.net (AIM) need Tranaction ID and Auth Code on merchant emails

    Just an added note:

    I made a test order. I paid by credit card via Authorize.net (AIM).
    I can see the Transaction ID and Auth Code in Admin/Customers/Orders at the bottom.

    I went to the Authorizenet table in mySQL and the were no records...... ?!?

    With that data still showing in the Admin/Customers/Orders page, where can this data be stored in mySQL.

    Jeff

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

    Default Re: Authorize.net (AIM) need Tranaction ID and Auth Code on merchant emails

    The Admin "orders" page pulls that info from the orders_status_history table.

    To add it to your admin-confirmation-emails, I would expect that this (for auth_net_aim) should work in theory (I have not tested this):
    /includes/classes/order.php
    approx line 971:
    Code:
        // send additional emails
        if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
          $extra_info=email_collect_extra_info('','', $this->customer['firstname'] . ' ' . $this->customer['lastname'], $this->customer['email_address'], $this->customer['telephone']);
          $html_msg['EXTRA_INFO'] = $extra_info['HTML'];
    			
          global $payment_modules;
          if ($payment_modules->auth_code || $payment_modules->transaction_id) {
            $pmt_details = 'AuthCode: ' . $payment_modules->auth_code . '  TransID: ' . $payment_modules->transaction_id . "\n\n";
            $email_order = $pmt_details . $email_order;
            $html_msg['EMAIL_TEXT_HEADER'] = nl2br($pmt_details) . $html_msg['EMAIL_TEXT_HEADER'];
          }
    
          zen_mail('', SEND_EXTRA_ORDER_EMAILS_TO, SEND_EXTRA_NEW_ORDERS_EMAILS_TO_SUBJECT . ' ' . EMAIL_TEXT_SUBJECT . EMAIL_ORDER_NUMBER_SUBJECT . $zf_insert_id,
          $email_order . $extra_info['TEXT'], STORE_NAME, EMAIL_FROM, $html_msg, 'checkout_extra');
        }
    .

    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
    Aug 2006
    Location
    North Carolina
    Posts
    280
    Plugin Contributions
    0

    Default Re: Authorize.net (AIM) need Tranaction ID and Auth Code on merchant emails

    thanks Doc,

    I'm going to test this after I finish lunch and post my results.

    Jeff

  5. #5
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    280
    Plugin Contributions
    0

    Default Re: Authorize.net (AIM) need Tranaction ID and Auth Code on merchant emails

    Sorry, it didn't work....

    This is no Auth Code or Transaction ID from Authorizenet showing on this merchant confirmation email after inserting your code, but it's in the Admin as I listed above

    thanks,
    Jeff


    Order Confirmation from Musical Creations Ltd.

    Jxxxxxxxxxxx

    Thanks for shopping with us today!
    The following are the details of your order.
    ------------------------------------------------------
    Order Number: 29
    Date Ordered: Monday 30 October, 2006
    Detailed Invoice:
    https://xxxxxxxxxxxxxx

    Products
    ------------------------------------------------------
    1 x (FASHION) - FASHION BEATS CD = $14.95
    ------------------------------------------------------
    Sub-Total: $14.95
    US Postal Service (Priority Mail - Delivery Confirmation (2-3 days)): $5.50
    NC TAX 7.0%: $1.05
    Total: $21.50

    Delivery Address
    ------------------------------------------------------
    Jxxxxxxxxxx

    Billing Address
    ------------------------------------------------------
    Jxxxxxxxxx

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

    Visa


    -----
    This email address was given to us by you or by one of our customers. If you
    feel that you have received this email in error, please send an email to
    [email protected]


    -----
    Copyright (c) 2000-2006 xxxxxxxxxx

    Office Use Only:
    From:
    Email:
    Login Name: xxxxxxxx
    Login Email: xxxxxxxxx
    Telephone: xxxxxxxx
    IP Address: xxxxxxxxxx
    Host Address: xxxxxxxxx
    Date and Time: xxxxxxxxx

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

    Default Re: Authorize.net (AIM) need Tranaction ID and Auth Code on merchant emails

    hmmmm ....
    .

    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.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 4 Mar 2016, 04:17 AM
  2. v150 Difference Between Authorize.net (SIM) and Authorize.net (AIM)
    By joem83 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 30 Aug 2012, 10:48 PM
  3. Authorize.net (AIM) Putting AUTH: Code & TransID in order comments
    By nextlevelmotoring in forum General Questions
    Replies: 6
    Last Post: 3 Aug 2009, 07:57 PM
  4. Authorize.net AIM - error occurred trying to report this transaction to the merchant.
    By danderson421 in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 15 Jan 2008, 11:14 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