Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2006
    Posts
    44
    Plugin Contributions
    0

    Default Excluding certain CC brands in default CC module

    } elseif (ereg('^(3[0-9]{4}|2131|1800)[0-9]{11}$', $this->cc_number) and CC_ENABLED_JCB=='1') {
    $this->cc_type = 'JCB';
    } elseif (ereg('^5610[0-9]{12}$', $this->cc_number) and CC_ENABLED_AUSTRALIAN_BANKCARD=='1') {
    $this->cc_type = 'Australian BankCard';
    Is it as easy as setting CC_ENABLED_* == '0' for the cards we don't accept?

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Excluding certain CC brands in default CC module

    Even easier- Admin> Configuration> Credit Cards - Turn off the ones you don't take and stay out of the code.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Nov 2006
    Posts
    44
    Plugin Contributions
    0

    Default Re: Excluding certain CC brands in default CC module

    Thanks!

    I don't suppose you could tell me where to enable the display of CC icons? SHOW_ACCEPTED_CREDIT_CARDS = '0' now. I can't find were to change the value.

    Apparently I'm still haunted by the ghosts of Oscommerce. :-)

  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Excluding certain CC brands in default CC module

    Same Admin page as above - Credit Card Enabled - Show on Payment
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 

Similar Threads

  1. v154 Excluding certain states
    By CabinetGuy in forum Managing Customers and Orders
    Replies: 3
    Last Post: 7 Jun 2015, 06:44 PM
  2. New Module for displaying Top Brands-Manufactures?
    By dharam1987 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 1 Oct 2011, 09:13 AM
  3. Replies: 1
    Last Post: 14 Feb 2009, 04:22 AM
  4. Need help with module configuration--enable certain payment module for certain items
    By maxus in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 10 Mar 2008, 04:24 PM
  5. Excluding categories from certain attribs
    By tatiana77 in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 26 Sep 2007, 08:50 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