Disable certain credit cards

Discussion in 'Payments processing' started by anzam, Jan 10, 2012.

  1. anzam

    anzam New Member

    Joined:
    Jan 12, 2011
    Messages:
    20
    How do you disable some credit cards as options from the list? I would like to remove Amex and Diner
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    What aMember version you have? What payment plugins do you use?
  3. anzam

    anzam New Member

    Joined:
    Jan 12, 2011
    Messages:
    20
    Hi Alex,

    We're using v3 and the eWay Paymen plugin.
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Hi,
    Edit /amember/plugins/payment/eway/eway.inc.php and remove these card types from this array:
    'type_options' => array('VISA' => 'VISA', 'MASTERCARD' => 'MASTERCARD', 'AMEX' => 'AMEX', 'DINERS' => 'DINERS'),
  5. anzam

    anzam New Member

    Joined:
    Jan 12, 2011
    Messages:
    20
    Thanks Alex, now fixed.

Share This Page