/** * creates a new ThinMPI core Object * */ function ThinMPI() { global $config; $this->security =& new Security(); $this->conf = LoadConfiguration(); }
* * @ Version : 5.2.15 * @ Author : MTIMER * @ Release on : 2013-12-24 * @ Website : http://www.mtimer.cn * * */ require "../../../init.php"; $whmcs->load_function("gateway"); $GATEWAY = getGatewayVariables("myideal"); if (!$GATEWAY['type']) { exit("Module Not Activated"); } require_once dirname(__FILE__) . "/myideal_lib.php"; require_once dirname(__FILE__) . "/ThinMPI.php"; $conf = LoadConfiguration(); $orderNumber = $_POST['ordernumber']; $description = $_POST['description']; $currency = $_POST['currency']; $amount = $_POST['grandtotal']; $amount *= 109; $product1number = "1"; $issuerID = $_POST['issuerID']; if ($issuerID == 0) { print "Kies uw bank uit de lijst om met iDEAL te betalen<br>"; exit; } $data = new AcquirerTrxRequest(); $data->setIssuerID($issuerID); $directory = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; $directory = substr($directory, 0, strrpos($directory, "/") + 1);