Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Posts
    35
    Plugin Contributions
    2

    Default Addding extra card types

    Hi there,

    How can I add another credit card to my admin?

    I have added the names and image locations etc... to

    Code:
    includes\languages\english\credit_cards.php
    But how can I see it in
    Code:
    Configurations->Credits Cards.
    So I can control whether to display it or not

    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Addding extra card types

    How can I add another credit card to my admin?
    Use the developers tool kit to find al files where one that is present appears in such as visa
    https://www.zen-cart.com/tutorials/index.php?article=38
    https://www.zen-cart.com/tutorials/index.php?article=39
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2008
    Posts
    35
    Plugin Contributions
    2

    Default Re: Addding extra card types

    thanks for the reply.

    Yea i tried that, not showing anything for me tho

    I want it in here...

    Code:
    Credit Card Enable Status - VISA 	1 	 
    Credit Card Enable Status - MasterCard 	1 	Info 
    Credit Card Enable Status - AmericanExpress 	0 	Info 
    Credit Card Enable Status - Diners Club 	0 	Info 
    Credit Card Enable Status - Discover Card 	0 	Info 
    Credit Card Enable Status - JCB 	0 	Info 
    Credit Card Enable Status - AUSTRALIAN BANKCARD 	0 	Info 
    Credit Card Enable Status - SOLO 	0 	Info 
    Credit Card Enable Status - Switch 	0 	Info 
    Credit Card Enable Status - Maestro 	0 	Info 
    Credit Card Enabled - Show on Payment 	2
    Any ideas?

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

    Default Re: Addding extra card types

    Which card, and why?
    .

    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
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Addding extra card types

    Yea i tried that, not showing anything for me tho
    And how many files did you edit and what were they?
    Zen-Venom Get Bitten

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

    Default Re: Addding extra card types

    kobra, that list is not built from php 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.

  7. #7
    Join Date
    Dec 2008
    Posts
    35
    Plugin Contributions
    2

    Default Re: Addding extra card types

    thanks for all your replies... zen cart really does have good support out there.

    The file I editted was

    HTML Code:
    includes\languages\english\credit_cards.php
    I added two German cards.. EC and Giropay.

    I just want to show that they are accepted as you can do for visa etc etc. in admin->config->credit cards.

    I've added the names and images in the credit_cards.php file.

    But I would like to get them to show in the checkout confirmation.

    Thanks again

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

    Default Re: Addding extra card types

    To add the admin switches you'll need to mess around in the database. Alter this according to your needs. USE AT YOUR OWN RISK. Be sure to backup your database before messing around in there.
    Code:
    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Credit Card Enable Status - VISA', 'CC_ENABLED_VISA', '1', 'Accept VISA 0= off 1= on', '17', '1', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
    .

    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. nochex payment module about card types
    By icezippo in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 6 Aug 2009, 05:33 PM
  2. WPP Direct Payment Accepted Card Types
    By fergusmacdonald in forum PayPal Website Payments Pro support
    Replies: 7
    Last Post: 26 May 2008, 07:34 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