From 176c587e41d5fc75b867ffeccf5e7d4025cc7b6c Mon Sep 17 00:00:00 2001 From: Ievgen Sentiabov <isentiabov@magento.com> Date: Wed, 28 Sep 2016 18:09:59 +0300 Subject: [PATCH] MAGETWO-59033: [Github] Authorize.net doesn't allow to use JCB and Diners Club credit cards - Added JCB and Diners Club credit cards --- app/code/Magento/Authorizenet/Model/Source/Cctype.php | 2 +- app/code/Magento/Authorizenet/etc/config.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Authorizenet/Model/Source/Cctype.php b/app/code/Magento/Authorizenet/Model/Source/Cctype.php index c6a83e19bd3..a6e173474ae 100644 --- a/app/code/Magento/Authorizenet/Model/Source/Cctype.php +++ b/app/code/Magento/Authorizenet/Model/Source/Cctype.php @@ -17,6 +17,6 @@ class Cctype extends PaymentCctype */ public function getAllowedTypes() { - return ['VI', 'MC', 'AE', 'DI']; + return ['VI', 'MC', 'AE', 'DI', 'JCB', 'DN']; } } diff --git a/app/code/Magento/Authorizenet/etc/config.xml b/app/code/Magento/Authorizenet/etc/config.xml index 70b413b5c1a..5c48b88e082 100644 --- a/app/code/Magento/Authorizenet/etc/config.xml +++ b/app/code/Magento/Authorizenet/etc/config.xml @@ -10,7 +10,7 @@ <payment> <authorizenet_directpost> <active>0</active> - <cctypes>AE,VI,MC,DI</cctypes> + <cctypes>AE,VI,MC,DI,JCB,DN</cctypes> <debug>0</debug> <email_customer>0</email_customer> <login backend_model="Magento\Config\Model\Config\Backend\Encrypted" /> -- GitLab