Skip to content

Commit

Permalink
PAYOSWXP-117: iDeal payment: add new issuer list for iDeal
Browse files Browse the repository at this point in the history
  • Loading branch information
amirinterlutions committed Nov 13, 2023
1 parent 5497dc3 commit 13b6333
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/PaymentHandler/PayoneIDealPaymentHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class PayoneIDealPaymentHandler extends AbstractAsynchronousPayonePaymentHandler
'TRIODOS_BANK',
'VAN_LANSCHOT_BANKIERS',
'YOURSAFE',
'NATIONALE_NEDERLANDEN',
'N26',
];

public static function isCapturable(array $transactionData, array $payoneTransActionData): bool
Expand All @@ -36,7 +38,7 @@ public static function isCapturable(array $transactionData, array $payoneTransAc
return false;
}

$txAction = isset($transactionData['txaction']) ? strtolower((string) $transactionData['txaction']) : null;
$txAction = isset($transactionData['txaction']) ? strtolower((string)$transactionData['txaction']) : null;

if ($txAction === TransactionStatusService::ACTION_PAID) {
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
<option value="TRIODOS_BANK">Triodos Bank</option>
<option value="VAN_LANSCHOT_BANKIERS">van Lanschot</option>
<option value="YOURSAFE">Yoursafe B.V</option>
<option value="NATIONALE_NEDERLANDEN">Nationale-Nederlanden</option>
<option value="N26">N26</option>
</select>
</div>
</div>
Expand Down

0 comments on commit 13b6333

Please sign in to comment.