Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    521
    Plugin Contributions
    3

    Default [Done v1.5.0] Small code change to authorizenet_aim.php

    This really isn't even necessary unless you want to W3C most of the pages. (It's just one small comma, it's possible it doesn't do anything. I only notice it since I'm working on a template and working on getting it W3C Compliant as best as possible.)

    In zencart/includes/modules/payment/authorizenet_aim.php around line 197 the follow change should be made:

    Before:
    PHP Code:
          $selection['fields'][] = array('title' => MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_CVV,
                                       
    'field' => zen_draw_input_field('authorizenet_aim_cc_cvv''''size="4", maxlength="4"' ' id="'.$this->code.'-cc-cvv"' $onFocus ' autocomplete="off"') . ' ' '<a href="javascript:popupWindow(\'' zen_href_link(FILENAME_POPUP_CVV_HELP) . '\')">' MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_POPUP_CVV_LINK '</a>',
                                       
    'tag' => $this->code.'-cc-cvv'); 
    After:
    PHP Code:
          $selection['fields'][] = array('title' => MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_CVV,
                                       
    'field' => zen_draw_input_field('authorizenet_aim_cc_cvv''''size="4" maxlength="4"' ' id="'.$this->code.'-cc-cvv"' $onFocus ' autocomplete="off"') . ' ' '<a href="javascript:popupWindow(\'' zen_href_link(FILENAME_POPUP_CVV_HELP) . '\')">' MODULE_PAYMENT_AUTHORIZENET_AIM_TEXT_POPUP_CVV_LINK '</a>',
                                       
    'tag' => $this->code.'-cc-cvv'); 

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Small code change to authorizenet_aim.php

    Yes, a small change, but is more correct.
    .

    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: 0
    Last Post: 10 Mar 2013, 11:11 PM
  2. Replies: 2
    Last Post: 10 May 2010, 04:51 AM
  3. Replies: 1
    Last Post: 12 Nov 2006, 05:10 AM
  4. [Done 1.3.5] Small Bug in tpl_tabular_display.php
    By dweingart in forum Bug Reports
    Replies: 1
    Last Post: 22 Aug 2006, 04:46 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