Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Posts
    59
    Plugin Contributions
    0

    Default Authorize.net (AIM) Putting AUTH: Code & TransID in order comments

    I just upgraded from a very old 1.2 to 1.3.8a and everything seems to be working great, except a wierd occurance with Aurhorize.net (AIM)....

    When a customer pays with a credit card the following information is entered into the publicly viewable order comments:

    Credit Card payment. AUTH: 625145. TransID: 2542587412. (I've changed the numbers but everything else is the same)

    As a result, the customer can see these numbers when viewing the order history through the website.


    Can anyone tell me how to turn this off?

    Thanks!

    Ryan

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

    Default Re: Authorize.net (AIM) Putting AUTH: Code & TransID in order comments

    Is there something wrong with the customer seeing the authorization code applied to their transaction?
    Keep in mind that you normally see that information on a credit card receipt you get when you swipe your card in a store for a retail purchase. Aren't customers entitled to see that information?
    .

    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
    Join Date
    Jan 2005
    Posts
    59
    Plugin Contributions
    0

    Default Re: Authorize.net (AIM) Putting AUTH: Code & TransID in order comments

    Quote Originally Posted by DrByte View Post
    Is there something wrong with the customer seeing the authorization code applied to their transaction?
    Keep in mind that you normally see that information on a credit card receipt you get when you swipe your card in a store for a retail purchase. Aren't customers entitled to see that information?
    Yes, there is! When there's an AVS error and a customer has held funds and they request to remove the authorization, the only thing we need to provide to have that authorization removed is the authorization number.

    Someone who knows that they're doing can have any charge removed (even active charges prior to settlement) with that number after placing an order by calling the toll-free number on the back of their card.

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

    Default Re: Authorize.net (AIM) Putting AUTH: Code & TransID in order comments

    So you're saying you don't want that disclosed *ever*? Or only if there were no warnings with the authorization?
    .

    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.

  5. #5
    Join Date
    Jan 2005
    Posts
    59
    Plugin Contributions
    0

    Default Re: Authorize.net (AIM) Putting AUTH: Code & TransID in order comments

    Quote Originally Posted by DrByte View Post
    So you're saying you don't want that disclosed *ever*? Or only if there were no warnings with the authorization?

    Yeah, I just think it would be better to not put that as an order comment - I can't think of a single benefit, it's just unnecessary info that can confuse the customer and offer a way for unscrupulous peoples to try to do things they shouldn't be doing.

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

    Default Re: Authorize.net (AIM) Putting AUTH: Code & TransID in order comments

    If you wish to exclude that, simply remove or comment-out the following from near the bottom of /includes/classes/order.php:
    Code:
          if ($GLOBALS[$_SESSION['payment']]->auth_code || $GLOBALS[$_SESSION['payment']]->transaction_id) {
            $pmt_details = 'AuthCode: ' . $GLOBALS[$_SESSION['payment']]->auth_code . '  TransID: ' . $GLOBALS[$_SESSION['payment']]->transaction_id . "\n\n";
            $email_order = $pmt_details . $email_order;
            $html_msg['EMAIL_TEXT_HEADER'] = nl2br($pmt_details) . $html_msg['EMAIL_TEXT_HEADER'];
          }
    and the same with the after_process() function in /includes/modules/payment/authorizenet_aim.php:
    Code:
        $sql = "insert into " . TABLE_ORDERS_STATUS_HISTORY . " (comments, orders_id, orders_status_id, date_added) values (:orderComments, :orderID, :orderStatus, now() )";
        $sql = $db->bindVars($sql, ':orderComments', 'Credit Card payment.  AUTH: ' . $this->auth_code . '. TransID: ' . $this->transaction_id . '.', 'string');
        $sql = $db->bindVars($sql, ':orderID', $insert_id, 'integer');
        $sql = $db->bindVars($sql, ':orderStatus', $this->order_status, 'integer');
        $db->Execute($sql);
    .

    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.

  7. #7
    Join Date
    Jan 2005
    Posts
    59
    Plugin Contributions
    0

    Default Re: Authorize.net (AIM) Putting AUTH: Code & TransID in order comments

    Thanks so much - that's exactly what I needed!

 

 

Similar Threads

  1. Authorize.net (AIM) & SSL
    By ItzThePitz in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 28 Apr 2008, 10:10 PM
  2. Authorize.net SIM & AIM
    By Kyler Schroeder in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 12 Oct 2007, 04:39 AM
  3. authorize.net AIM & cc_owner
    By dhcernese in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 31 Aug 2007, 04:55 PM
  4. Authorize.net (AIM) need Tranaction ID and Auth Code on merchant emails
    By jeffmic in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 31 Oct 2006, 07:19 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