We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 985f8f20 authored by alessio's avatar alessio

PW-1448: add Dankort to card types, add dankort, elo, hipercard to manual capture allowed

parent 866e6cef
......@@ -56,7 +56,7 @@ class CcType extends \Magento\Payment\Model\Source\Cctype
*/
public function getAllowedTypes()
{
return ['VI', 'MC', 'AE', 'DI', 'JCB', 'UN', 'MI', 'DN', 'BCMC', 'HIPERCARD','ELO', 'TROY'];
return ['VI', 'MC', 'AE', 'DI', 'JCB', 'UN', 'MI', 'DN', 'BCMC', 'HIPERCARD','ELO', 'TROY', 'DANKORT'];
}
/**
......
......@@ -1495,6 +1495,9 @@ class Cron
case 'laser':
case 'paypal':
case 'sepadirectdebit':
case 'dankort':
case 'elo':
case 'hipercard':
$manualCaptureAllowed = true;
break;
default:
......
......@@ -73,9 +73,13 @@
<label>Elo</label>
<code_alt>elo</code_alt>
</type>
<type id="TROY" order="130">
<type id="TROY" order="120">
<label>Troy</label>
<code_alt>troy</code_alt>
</type>
<type id="DANKORT" order="130">
<label>Dankort</label>
<code_alt>dankort</code_alt>
</type>
</adyen_credit_cards>
</payment>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment