Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Authorize.net email credit card type and phone number

    Upgraded 5.6..

    When a customer gets an email confirmation using authorize.net i used to get the credit card number type
    This is where I believe the change needs to be made. The code I have for path \includes\modules\payment/authorize.net

    Also on the phone number in the deleivery address is showing up like this in the eamil

    EMAIL_TEXT_TELEPHONE3123396045


    Code:
       * Store the CC info to the order and process any results that come back from the payment gateway
    
       */
    
        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']     = '***';
        $sessID = zen_session_id();
    
        $this->include_x_type = TRUE;

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

    Default Re: Authorize.net email credit card type and phone number

    this is the correct path to the file /includes/modules/payment/authorize_aim.php

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

    Default Re: Authorize.net email credit card type and phone number

    okay i figured it out from an old post

    i changed

    Code:
      * Store the CC info to the order and process any results that come back from the payment gateway
    
       */
    
        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']     = '***';
        $sessID = zen_session_id();
    
        $this->include_x_type = TRUE;
    to
    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();
    and I also commented it out // $order->info['cc_type'] = $response[51];

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

    Default Re: Authorize.net email credit card type and phone number

    the only issue now seems to be the way the telephone number is appearing

    EMAIL_TEXT_TELEPHONE555 5555 5555


    How to we remove the email_text_telephone?

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

    Default Re: Authorize.net email credit card type and phone number

    Quote Originally Posted by chadlly2003 View Post
    the only issue now seems to be the way the telephone number is appearing

    EMAIL_TEXT_TELEPHONE555 5555 5555


    How to we remove the email_text_telephone?
    See: https://github.com/zencart/zencart/pull/1980/files
    .

    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. v154 Authorize.net (AIM) - "Credit card number is required"
    By swguy in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 13 Sep 2017, 06:36 PM
  2. Replies: 5
    Last Post: 29 Nov 2010, 06:28 AM
  3. Wrong phone number appearing in Paypal Credit Card Payment
    By mike1969 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 5 May 2008, 11:57 PM
  4. Phone # Sent In Place OF Credit Card Number
    By Atomic in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 20 Jun 2006, 02:31 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