/** * * Enter description here ... * @param int $userid * @param int $projectid * @param string $apiKey * @param string $password * @param string $hashfunction (sha1, sha256, sha512) depending on PHP and OS and adjustment in project on pnag-server */ function SofortLib_iDealClassic($configurationKey, $password, $hashfunction = 'sha1') { $apiUrl = getenv('idealApiUrl') != '' ? getenv('idealApiUrl') : 'https://www.sofort.com/payment/ideal'; $this->apiUrl = $apiUrl; list($userid, $projectid, $apiKey) = explode(':', $configurationKey); $this->sofortLib = new SofortLib_iDeal_Banks($configurationKey, $this->apiUrl); parent::SofortLib_SofortueberweisungClassic($userid, $projectid, $password, $hashfunction); $this->apiKey = $apiKey; }