Skip to content

Commit

Permalink
Added Choose your bank as the top option for ideal
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Pieters committed Oct 20, 2016
1 parent 2505c57 commit 2eb8ab7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/addons/paynl_addon/func.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function fn_paynl_startTransaction($order_id, $order_info, $processor_data, $exc
$payNL->setAmount(floatval($order_info['total']) * 100);
$payNL->setPaymentOptionId($processor_data['processor_params']['optionId']);

if(!is_null($paymentOptionSubId)){
if(!empty($paymentOptionSubId)){
$payNL->setPaymentOptionSubId($paymentOptionSubId);
}

Expand Down
2 changes: 1 addition & 1 deletion app/functions/smarty_plugins/block.paynl_banks.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function smarty_block_paynl_banks($params, $content, &$smarty, &$repeat)
$banks = fn_get_ideal_banks($processor_data);

$banksHtml = "<select name='paymentOptionbSubId' >";

$banksHtml .= "<option value=''>Kies uw bank...</option>";
foreach($banks as $bank){
$banksHtml .= "<option value='".$bank['id']."'>".$bank['name']."</option>";
}
Expand Down
2 changes: 1 addition & 1 deletion app/lib/other/smarty/plugins/block.paynl_banks.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function smarty_block_paynl_banks($params, $content, &$smarty, &$repeat)
$banks = fn_get_ideal_banks($processor_data);

$banksHtml = "<select name='paymentOptionbSubId' >";

$banksHtml .= "<option value=''>Kies uw bank...</option>";
foreach($banks as $bank){
$banksHtml .= "<option value='".$bank['id']."'>".$bank['name']."</option>";
}
Expand Down

0 comments on commit 2eb8ab7

Please sign in to comment.