Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2005
    Location
    Perth, Western Australia, Australia
    Posts
    781
    Plugin Contributions
    0

    red flag Credit card expiry date problem: can't put later than 2017

    Hi,

    I have a potential customer but he told me that his credit card expiry date is 2018 but my web site only allows up to 2017. Is it possible to increase the range? Please advise. Thanks.
    The Team Behind DealByEthan.com | Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. Connect with us: https://linktr.ee/dealbyethan


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

    Default Re: Credit card expiry date problem: can't put later than 2017

    Find this in your payment module, and change the "+10" to "+11":
    Code:
        for ($i=$today['year']; $i < $today['year']+10; $i++) {
    .

    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
    Dec 2005
    Location
    Perth, Western Australia, Australia
    Posts
    781
    Plugin Contributions
    0

    red flag Re: Credit card expiry date problem: can't put later than 2017

    Hi DrByte,

    Thanks for your help. I did a search using the Developers Tool Kit and found several entries.

    includes/modules/payment/authorizenet.php
    includes/modules/payment/authorizenet_aim.php
    includes/modules/payment/cc.php
    includes/modules/payment/linkpoint_api.php

    So I am going to change the "+10" to "+11" in these files.
    The Team Behind DealByEthan.com | Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. Connect with us: https://linktr.ee/dealbyethan


  4. #4
    Join Date
    Dec 2007
    Posts
    130
    Plugin Contributions
    0

    Default Re: Credit card expiry date problem: can't put later than 2017

    Quote Originally Posted by dealbyethan.com View Post
    Hi DrByte,

    Thanks for your help. I did a search using the Developers Tool Kit and found several entries.

    includes/modules/payment/authorizenet.php
    includes/modules/payment/authorizenet_aim.php
    includes/modules/payment/cc.php
    includes/modules/payment/linkpoint_api.php

    So I am going to change the "+10" to "+11" in these files.
    authorize.net and Link Point are American Processors.
    You should change cc and/or your cc provider

  5. #5
    Join Date
    Sep 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Credit card expiry date problem: can't put later than 2017

    I still cant fix this. Please help. This is what my cc.php contains:

    define('MODULE_PAYMENT_CC_TEXT_TITLE', 'Credit Card');
    define('MODULE_PAYMENT_CC_TEXT_DESCRIPTION', 'Credit Card Test Info:<br /><br />CC#: 4111111111111111<br />Expiration: Any');
    define('MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_TYPE', 'Credit Card Type:');
    define('MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_OWNER', 'Card Owner\'s Name:');
    define('MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_NUMBER', 'Card Number:');
    define('MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_CVV', 'CVV Number (<a href="javascriptopupWindow(\'' . zen_href_link(FILENAME_POPUP_CVV_HELP) . '\')">' . 'More Info' . '</a>)');
    define('MODULE_PAYMENT_CC_TEXT_CREDIT_CARD_EXPIRES', 'Expiration Date:');
    define('MODULE_PAYMENT_CC_TEXT_JS_CC_OWNER', '* The owner\'s name of the credit card must be at least ' . CC_OWNER_MIN_LENGTH . ' characters.\n');
    define('MODULE_PAYMENT_CC_TEXT_JS_CC_NUMBER', '* The credit card number must be at least ' . CC_NUMBER_MIN_LENGTH . ' characters.\n');
    define('MODULE_PAYMENT_CC_TEXT_ERROR', 'Credit Card Error:');
    define('MODULE_PAYMENT_CC_TEXT_JS_CC_CVV', '* The CVV number must be at least ' . CC_CVV_MIN_LENGTH . ' characters.\n');
    define('MODULE_PAYMENT_CC_TEXT_EMAIL_ERROR','Warning - Configuration Error: ');
    define('MODULE_PAYMENT_CC_TEXT_EMAIL_WARNING','WARNING: You have enabled the CC payment module but have not properly configured it to send CC information to you by email. As a result, you will not be able to process the CC number for orders placed using this method. Go to Admin->Modules->Payment->CC->Edit and set the preferred email address for sending CC information.' . "\n\n\n\n");
    define('MODULE_PAYMENT_CC_TEXT_MIDDLE_DIGITS_MESSAGE', 'Please direct this email to the Accounting department so that it may be filed along with the online order it relates to: ' . "\n\n" . 'Order: %s' . "\n\n" . 'Middle Digits: %s' . "\n\n");
    ?>

  6. #6
    Join Date
    Jul 2006
    Posts
    154
    Plugin Contributions
    0

    Default Re: Credit card expiry date problem: can't put later than 2017

    I was looking for this solution as well. Thank you for listing this.

    Also, Dr. Byte, I was wondering if you have a 1.3.7 cart, and for now you only want to update the paypal module and the authorize.net module -- is that possible? I know you would think to update the entire cart, but if that were going to be a big job and you just wanted to update the pay modules until you had the rest of the cart updated, would that be possible?

    Thanks always for your energy.
    Kinget

    Quote Originally Posted by DrByte View Post
    Find this in your payment module, and change the "+10" to "+11":
    Code:
        for ($i=$today['year']; $i < $today['year']+10; $i++) {

  7. #7
    Join Date
    Sep 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Credit card expiry date problem: can't put later than 2017

    anybody??

  8. #8
    Join Date
    Sep 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Credit card expiry date problem: can't put later than 2017

    found it... I had the wrong cc.php

  9. #9
    Join Date
    Jul 2008
    Posts
    113
    Plugin Contributions
    0

    Default Re: Credit card expiry date problem: can't put later than 2017

    Thank you for the info... I had a customer tell me the same thing. Easy to fix. Thanks!

    Cyndy

 

 

Similar Threads

  1. customer can't purchase with credit card expiry year 2023
    By tpeck in forum Managing Customers and Orders
    Replies: 6
    Last Post: 6 Jul 2013, 03:43 AM
  2. Banners expiring later than the "expires on" date
    By Thannaree in forum Setting Up Specials and SaleMaker
    Replies: 8
    Last Post: 17 Sep 2012, 04:51 AM
  3. authorize credit card first, then charge later
    By ryanf in forum General Questions
    Replies: 1
    Last Post: 1 May 2007, 12:53 AM
  4. Why Can't I See The Expiry Date On Special or Featured Product?
    By Robert T in forum Setting Up Specials and SaleMaker
    Replies: 4
    Last Post: 13 Mar 2007, 10:24 PM
  5. Credit Card Expiry Date in with Authorize net
    By fauxtog in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 6 Sep 2006, 05:51 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