| Server IP : 172.64.80.1 / Your IP : 172.71.120.136 Web Server : Apache System : Linux mail.federalpolyede.edu.ng 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64 User : federalpolyede.edu.ng_idh35skikv ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/ace_admin_student/ |
Upload File : |
<?php
/**
* Created by PhpStorm.
* User: aspoa
* Date: 01/29/2019
* Time: 11:20 AM
*/
//
//die("Payment is not available Now");
$id=$_SESSION['sn'];
$pt=$_POST['pt'];
if ($_POST['pt']){
$descr =$_SESSION['paymentType']= $pt;
}else{
// if($_GET[])
}
if ($pt=='School Fees') {
$orderID = $_SESSION['transID'] = "sf-ACE19" . $id . mt_rand(1000, 9999);
$merchant_id = "700602X38E";
$terminalId = "7007139718";
$secret_key =$_SESSION['secret_key']= "YmNhmT2mzULRMcY0";
}elseif($pt=='aceForm'){
$orderID="ap-ACE19".$id.mt_rand(10000, 99999);
$merchant_id= "700602X38D";
$terminalId="7007139717";
$secret_key=$_SESSION['secret_key']="bGqYVFsQs9FLdK5x";
}elseif($pt=='Acceptance Fee'){
$orderID="af-ACE19".$id.mt_rand(10000, 99999);
$merchant_id= "700602X38B";
$terminalId="7007139715";
$secret_key=$_SESSION['secret_key']="u3oKGW0I9IPDDCm5";
}else{
$orderID="ao-ACE19".$id.mt_rand(1000, 9999);
$merchant_id= "700602X38C";
$terminalId="7007139716";
$secret_key=$_SESSION['secret_key']="sH5jD3FN7VWFPMkr";
}
//if ($pt=='School Fees'){
// $orderID=$_SESSION['transID']="sf-ACE19".$id.mt_rand(1000, 9999);
// $merchant_id= "700602X2YL";
// $terminalId="7007139452";
// $secret_key="0kEwtlLUSUWuwrvu";
//
//}else{
// $orderID=$_SESSION['transID']="af-ACE19".$id.mt_rand(1000, 9999);
// $merchant_id= "700602X2YK";
// $terminalId="7007139451";
// $secret_key="E7dt106cUsNY6UeS";
//}
//$terminalId = "0000000001";
//$secret_key="DEMO_KEY";
$channel=$_SESSION['medium'];
if ($channel=='ATM Card'){
$responseurl = "https://www.federalpolyede.edu.ng/ace_admin_student/response.php";
$notification = "https://www.federalpolyede.edu.ng/ace_admin_student/response.php";
}else{
$responseurl = "https://www.federalpolyede.edu.ng/ace_admin_student/responseBankIT.php";
$notification = "https://www.federalpolyede.edu.ng/ace_admin_student/responseBankIT.php";
}
//die($responseurl);
?>