Skip to content

Commit

Permalink
Add support for OP renew certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommi Järvinen committed Sep 5, 2017
1 parent 8b53a6a commit 8bbb750
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions inc/pankkiyhteys_functions.inc
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,12 @@ function sepa_renew_certificate($params) {
$csr_params['customer_id'] = $customer_id;
$csr_params['company_name'] = $old_cert_info['subject']['CN'];

break;
case 'op':
$customer_id = $old_cert_info['subject']['CN'];

$csr_params['customer_id'] = $customer_id;

break;
case 'danske':
$customer_id = $pankkiyhteys['customer_id'];
Expand Down
2 changes: 1 addition & 1 deletion pankkiyhteysadmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@
echo "</div>";
}

if (in_array($pankkiyhteys['pankki'], array('NDEAFIHH', 'DABAFIHH', 'HELSFIHH', 'ITELFIHH', 'POPFFI22', 'HANDFIHH'))) {
if (in_array($pankkiyhteys['pankki'], array('NDEAFIHH', 'OKOYFIHH', 'DABAFIHH', 'HELSFIHH', 'ITELFIHH', 'POPFFI22', 'HANDFIHH'))) {
echo "<div>";
echo "<form method='post'>";
echo "<input type='hidden' name='tee' value='uusi_sertifikaatti'/>";
Expand Down

0 comments on commit 8bbb750

Please sign in to comment.