Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanRijpkema committed Nov 17, 2020
1 parent 70571ca commit 068fd78
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/Identity.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

/*
/**
* (c) 2020 - Daan Rijpkema <[email protected]>
*
* This source file is subject to the license that is bundled
Expand Down Expand Up @@ -35,16 +34,20 @@ public function __construct(
parent::__construct($config, $entranceCode, $expectedReturn);

// override specific brand ID
$this->brandID = $config->IDINBrandId;
if (isset($config->IDINBrandId) && $config->IDINBrandId!=="") {

$this->brandID = $config->IDINBrandId;
} else {
$this->brandID = $config->brandId;
}

$this->requestCategory = $this->getRequestCategoryElement($requestCategory);

$this->description= $description;
$this->debtorReference = $debtorReference;
$this->debtorReturnURL = $debtorReturnURL;

$this->debtorReturnURL = $this->debtorReturnURL;
//."?transactionID={$this->mandateID}";
$this->debtorReturnURL = $this->debtorReturnURL . "?transactionID={$this->debtorReference}";
}

private function getIdinRequestCategory($category,$active=true)
Expand Down

0 comments on commit 068fd78

Please sign in to comment.